driver.switchTo().alert().sendKeys("Hello");
0 Comments
Confirmation boxes and Alerts are handled in same way in driver.
get("http://www.google.com") - navigate to a Web page. Webdriver will wait until the page has fully loaded before returning control to script.
navigate().to("http://www.google.com") - It also navigate to a web page. Conclusion :- navigate().to() and get() do exactly the same thing. The navigate interface also provides the ability to move backwards and forwards in your browser’s history:
Executing the test cases manually without any tool support is known as manual testing.
A Test suite is a collection of test cases that are intended to test a behavior or set of behaviors of software program.
Actions actions = new Actions(driver); Actions actions = new Actions(driver); |