Examples of Scripts for Automation – Selenium Training

Examples of Scripts for Automation – Selenium Training   Public class test1 : Public static void main ( string[ ] args) throws interrupted  exception . // Launch site. WebDriver obj= new FirefoxDriver(); obj.get ( ” http://newtours.demoaut.com/”); Thread.sleep (5000 );//wait 5 seconds //click register link obj. find element ( By . […]

Advertisements

Locating Elements in Web Pages – Selenium Training

Locating Elements in Web Pages – Selenium Training   Locating Elements in Web Pages – Selenium Training   One website means a set of interlinked web pages. Every web page is having multiple elements like test boxes, images, drop down links , radio buttons, check boxes, links , tables, buttons […]