Skip to main content

Posts

Showing posts from April, 2016

How to Setup the TestNG first Project in eclipse

In this article we will explain you about how to write the Test Cases  by using TestNG frame. here we will learn how to setup the TestNG framework in the Eclipse.

How to install TestNG

TestNG in the software that you can download inside the eclipse. Th Installing the TestNG, following are the steps need to follow.

How to retrieve all the values of a drop down using Selenium Web Driver

Now we want to retrieve all the value of any select box then we can use the getOptions method. It will return the complete list of all the values in a drop down field. It takes no parameter and return list of all the values in the select box.

How to locate drop down by using Selenium Web Driver

In earlier article we discussed about how to locate Link, Text Box, Button, Radio Button. In this article i want to discuss with you that how we can deal with the drop down boxes. We can call drop down also called select box because Web Driver's support class is Select, which provide useful method to interact with the drop down.