Selenium Test Case
Selenium Test Case
Selenium Test Case
Practice Exercise-3---Done
1.Launch new Browser
2.Open DemoQA.com website
3.Click on Registration link using
“driver.findElement(By.xpath(“.//*[@id=’menu-
item-374′]/a”)).click();“
4.Come back to Home page (Use ‘Back’ command)
5.Again go back to Registration page (This time use
‘Forward’ command)
6.Again come back to Home page (This time use
‘To’ command)
7.Refresh the Browser (Use ‘Refresh’ command)
8.Close the Browser
Practice Exercise 9
1.Launch new Browser
2.Open URL
“http://toolsqa.wpengine.com/automation-
practice-table/”
3.Get the value from cell ‘Dubai’ and print it on the
console
4.Click on the link ‘Detail’ of the first row and last
column
Practice Exercise 10
1.Launch new Browser
2.Open URL
“http://toolsqa.wpengine.com/automation-
practice-table/”
3.Get the value from cell ‘Dubai’ with using
dynamic xpath
4.Print all the column values of row ‘Clock Tower
Hotel’