Selenium + Cucumber: True/False Flashcard

Selenium + Cucumber: True/False Flashcard

Assessment

Flashcard

Information Technology (IT)

University

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Thread.sleep() is considered a best practice for waiting in Selenium.

Back

False

2.

FLASHCARD QUESTION

Front

@Before hooks run before each scenario in Cucumber.

Back

True

3.

FLASHCARD QUESTION

Front

By.cssSelector("input[name='email']") is a valid locator.

Back

True

4.

FLASHCARD QUESTION

Front

You can only use one locator per test.

Back

False

5.

FLASHCARD QUESTION

Front

The @Given, @When, and @Then annotations are used to map Gherkin steps.

Back

True

6.

FLASHCARD QUESTION

Front

driver.findElement() returns a list of WebElements.

Back

False

7.

FLASHCARD QUESTION

Front

List can store multiple elements found by findElements().

Back

True

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?