Search Header Logo

Selenium + Cucumber: True/False Quiz

Authored by Angelina D

Information Technology (IT)

University

Used 2+ times

Selenium + Cucumber: True/False Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

@Before hooks run before each scenario in Cucumber.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can only use one locator per test.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

driver.findElement() returns a list of WebElements.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List can store multiple elements found by findElements().

True

False

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?