Showing posts with label Selenium WebDriver. Show all posts
Showing posts with label Selenium WebDriver. Show all posts

Thursday, March 16, 2017

Set up Selenium

How to Set up Selenium

Those who are learn to Selenium, this is first step for them how to set up Selenium. It's easy but tricky. If you miss anything you can't learn properly. The following steps needed for set up for Selenium:
Selenium Tutorial
  • Must you have to install JDK at your computer otherwise selenium will not work. Check with command prompt by the following command: java -version.                                             If JDK is not at your system download and install from the following L I N K
  • Download and extract Selenium at the following: L I N K
  • For Selenium coding you need IDE. You can use anyone from the market. Here is Eclipse download L I N K.
  • For test runner you need TestNG or JUnit frame work. You can install it through eclipse.                                                             TestNG Download L I N K.                                                         JUnit Download L I N K.                                                             Testing point of view most uses is TestNG.                                                
Hope it will be little help for Selenium Installation. For Selenium Tutorial please visit this page - Slenium Tutorial.

Thursday, December 10, 2015

Mouseover in Selenium Webdriver

How to handle Mouseover in Selenium Webdriver:

There are many application you will find that when you mouseover then dropdown expand or it's perform an action. You don't need any click or right click of that element.
In that situation how you will handle in Selenium Webdriver? If you find that element ID or xpath or any other locator and click on that element but it will not work for Selenium Webdriver.
You have to use Action Class to perform this type of action otherwise it will not work. Please see the following image for code.

How to handle Hidden Element in Selenium webdriver:


If you find any element type is 'Hidden' and you try to click that element by regular click then it will not work in Selenium Webdriver. To handle hidden element you should use Javascriptexecutor. With the help of javascriptexecutor you will be able to overcome this situation. Please see the following image for code.
Mouseover and Javascriptexecutor

Friday, November 20, 2015

Selenium Tutorial

Free Selenium Tutorial

Selenium is a very famous Software Testing tool. Till now Selenium has 3 version- 1) Selenium IDE, 2) Selenium RC and 3) Selenium WebDriver. Selenium is very popular because it's support multiple language such as Java, C#, Python, Ruby, PHP etc. but Java is widely used. Selenium is a free tool you can download it from the following link-
The following video tutorial will help you to learn Selenium:

*Selenium WebDriver Installation Part-1 *Selenium WebDriver Installation Part-2 *X-Path Part-1
* First Script-Selenium *Page Object Model *X-Path Part-2
* Selenium with IE * Selenium with Chrome *Selenium with HTML Unit Driver
* Reading Data from Excel * Writing data to Excel * Selenium-Maven
* Selenium-Jenkins *Selenium-AutoIT * Alert Handle
* Multiple Window Handle * Taking Screen Shot * Data Driven Framework Part-1
* Data Driven Framework Part-2 * Manually TestNG XML Creation * XSLT Report