In the web application you are testing, you need to select several options in a dropdown menu Which of the following is the BEST approach for selecting a dropdown option using WebDriver?
A. Use the switch_to class to switch to the dropdown element, and then click on the option in the dropdown
B. Click on the dropdown option using its relative XPath
C. Click on the dropdown option using its absolute XPath
D. Click on the dropdown element and then click on the option in the dropdown
Which of the following states for a link WebElement could be checked to ensure that trying to click on the WebElement does not fail?
Choose three of the seven answers
A. The WebElement is selected
B. The WebElement exists
C. The WebElement is not selected
D. The WebElement is displayed
E. The WebElement is at a particular X,Y location
F. The WebElement is enabled
G. The WebElement has a text value
Which of the following is a good definition for DOM?
A. An API interface which treats an HTML document as a tree structure where each node represents an object
B. A mock object, emulator or simulator which allows the automation to consistently test some capability, even when the physical object is not available
C. A test automation pattern which forces the technical and business layers to be considered separately
D. A layer which provides an environment for automated test scripts to execute
Consider the following HTML document
Which of the following CSS selectors will find the Cancel button?
A. .big.button[name="cancel"]
B. ."big button" [name="cancel'']
C. . .big_button[name="cancel"]
D. .big.button[@name="cancel"]
Which of the following statements is true about test automation metrics?
A. Meaningful test automation metrics should be established quickly
B. Meaningful test automation metrics are the same no matter the size of the project
C. Meaningful test automation metrics are simply comparing relative test effort for manual versus automated tests
D. Meaningful test automation metrics are part of demonstrating business value
Given amodal dialog with an ID = "modal1" and a button in the modal with a class name = "modal1butlon1", which line(s) of code will click on the modal button?
A. Option A
B. Option B
C. Option C
D. Option D
Which of the following is a limitation of a test automation project that is likely to cause an organization to get less return on their investment than they expected?
A. Approach stating that all manual tests should be automated
B. The pesticide paradox is decreased with automation
C. Short-term thinking and inadequate planning for the automation
D. Executing tests outside of normal business hours
Given a link with an ID = "Hnk1". which line(s) of code will get the text within the webelement?
A. Option A
B. Option B
C. Option C
D. Option D
Which of the following is an example of a potential negative outcome associated with Selenium test automation project?
A. Ease of running large sets of regression tests when new features are added
B. Reduced code coverage at the unit and integration test levels
C. Finding so many defects that the release process is slowed down
D. Allowing people with limited technical understanding to automate tests
Which of the following BEST explains how Selenium fits within the test automation architecture?
A. Selenium supports designing test cases
B. Selenium interfaces with the SUT
C. Selenium supports implementing test cases
D. Selenium is a tool, not part of the test automation architecture