What will be the output of the execution of following piece of code?
A)
B)
C)
D)
In the web application you are testing, you need to select each option in several dropdown menus. Which of the following is the BEST approach for making your test scripts maintainable?
This will make it easier to identify the elements in the test scripts and make them easier to read and understand. Additionally, it will also make it easier to make changes to the test scripts if needed, as the keywords can be easily identified and replaced.
Given a modal dialog with an ID = "modal1" and a button in the modal with a class name = "modal1-butlon1", which line(s) of code will click on the modal button?
A)
B)
C)
D)
Consider the following HTML document
Which of the following CSS selectors will find the Cancel button?
Which would be the best set of methods called by a Page Object that corresponds to the following dialog box?
These methods will allow the user to enter their login information, log in, and cancel the log in process if needed. The enterlogin and enterpassword methods will take the user's login information as parameters, and the login and cancel methods will simulate the user clicking the respective buttons.