Professional Documents
Culture Documents
Corr Quiz 6 Selenium
Corr Quiz 6 Selenium
1° Implicit wait time is applied to all elements in your code while Explicit waits
are applied only to a single element for a specified amount of time.
Correct Answer: True
Question:
2° Data Driven Testing (DDT) is a methodology in automated testing to test only a single
set of Test Data. Correct Answer: False
Question:
Question:
wait.until(ExpectedConditions.presenceOfElementLocated(by));
Question:
Question:
Correct Answer: Using the Actions class' method moveToElement(element, xOffset, yOffset)
Question:
7° What would be the ideal way to identify an element without ID or Class ?
By.xpath("//button[contains(., 'Test')]") Correct Answer: By.xpath("//button[contains(.,
'Test')]").By.xpath("//button[contains(text(), 'Test')]")
Question:
Using Selenium WebDriver, how would you select only the element with the 2
classes: 'container' and 'title' ?