Selenium + Cucumber: True/False Flashcard

Selenium + Cucumber: True/False Flashcard

Assessment

Flashcard

Information Technology (IT)

University

Practice Problem

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?