Categories

Netsparker Web Application Security Scanner

Handling Date Time Picker using Selenium

(adsbygoogle = window.adsbygoogle || []).push({});

In this chapter, we are going to discuss the how to handle date and time picker using Selenium Webdriver on HTML5 web pages. HTML5 has an inbuilt dateTime-local attribute for date-time input form field as shown below.

 

 

We can get the date time input field with the help of following HTML5 code.

<html> <head> <title>Handling Date Time Picker using Selenium</title> </head> <body> <form name="datetimedemo" method="post"> <h2>Handling Date Time Picker using Selenium</h2>

Continue reading…

How to use JUnit Annotations in Selenium WebDriver Automation Script

(adsbygoogle = window.adsbygoogle || []).push({});

In our previous article we have learned basic Introduction to JUnit Annotations used in your Selenium WebDriver Automation Test script. Now I want to give you brief idea about how to use these JUnit Annotations & what is actual use in the Selenium WebDriver code.

In Selenium WebDriver if you want to run test script using JUnit framework we have to add few JUnit Annotations in Selenium WebDriver Test script. Below we are using

Continue reading…

Introduction to JUnit Annotations - Learn JUnit annotations used for your Selenium WebDriver automation

(adsbygoogle = window.adsbygoogle || []).push({});

In previous article we have covered on Start Selenium WebDriver Test Script on your own – Selenium Tutorial. I have used “@Test” annotation in the script, one of our reader ask in comments about “what is use of annotaions & why we added @Test annotation”. So I have started writing this post to clear the concept of what is JUnit Annotations & what are different JUnit annotations with meaning of each. Also what is

Continue reading…