Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Playwright Quiz (Engineer Camp)

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What is the primary purpose of Playwright?

a)

Data analysis

b)

Web automation

c)

Mobile app development

d)

Desktop software development

2.

Which company developed Playwright?

a)

Google

b)

Microsoft

c)

Apple

d)

Amazon

3.

What does Mabl primarily focus on?

a)

Mobile testing

b)

Web automation

c)

Desktop software

d)

API testing

4.

What is the main feature of Playwright's "Codegen"?

a)

Debugging tools

b)

Recording user actions

c)

Parallel test execution

d)

Test retries

5.

What type of reports does Playwright support out of the box?

a)

PDF

b)

Excel

c)

HTML

d)

PowerPoint

6.

How can you run Playwright tests in headed mode?

4 lines
7.

Which browser is not supported by Playwright?

a)

Chromium

b)

Firefox

c)

Safari

d)

Internet Explorer

8.

In Playwright, which command is used to start a test run?

a)

npx playwright start

b)

npx playwright run

c)

npx playwright test

d)

npx playwright begin

9.

What feature does Playwright offer for debugging failed tests?

a)

Test Tagging

b)

Trace Viewer

c)

Codegen

d)

Automatic Waiting

10.

Which feature of Playwright helps in creating isolated browser contexts?

a)

Test Retries

b)

Parallel Test Execution

c)

Browser Context Creation

d)

Video and Screenshot Support

11.

What is the primary difference between Mabl and Playwright in terms of test authoring?

a)

Mabl uses code-based tests, while Playwright uses low-code tests

b)

Mabl uses low-code tests, while Playwright uses code-based tests

c)

Both use code-based tests

d)

Both use low-code tests

12.

Which feature of Playwright ensures that elements are ready before executing actions?

a)

Test Tagging

b)

Automatic Waiting

c)

Parallel Test Execution

d)

Video and Screenshot Support

13.

How does Playwright handle test retries?

4 lines
14.

What type of data management is more flexible in Playwright compared to Mabl?

a)

Test Reporting

b)

Test Data Management

c)

Debugging Capabilities

d)

Test Tagging

15.

Which Playwright feature allows you to view recordings of test execution?

a)

Codegen

b)

Playwright Inspector

c)

Trace Viewer

d)

Test Tagging

16.

What is the main advantage of using Playwright over Mabl in terms of cost?

a)

Mabl is free, while Playwright is subscription-based

b)

Playwright is open-source and free to use

c)

Both are free

d)

Both have subscription-based pricing

17.

In Playwright, how can you debug tests step by step?

a)

By using npx playwright test --debug

b)

By pausing the test script with await page.pause()

c)

By using npx playwright test --ui

d)

By using npx playwright test --verbose

18.

What is the main feature of Playwright’s “Parallel Test Execution”?

a)

Running tests on different browsers

b)

Running multiple tests simultaneously

c)

Debugging tests in real-time

d)

Capturing screenshots

19.

What does Playwright's "Video and Screenshot Support" feature provide?

a)

Option to take screenshots only

b)

Ability to record and view videos of test runs

c)

Only video recordings of test runs

d)

Integrated test reporting

20.

What kind of reports can you create with Playwright's built-in reporting tools?

a)

Customizable reports

b)

Basic text reports

c)

Data-only reports

d)

No reporting capabilities

21.

What is a key benefit of Playwright’s "Browser Context Creation" feature?

a)

It allows for parallel test execution on multiple machines

b)

It creates isolated environments within a single browser instance

c)

It integrates with third-party reporting tools

d)

It enables automatic test retries

22.

How does Playwright’s "Automatic Waiting" feature improve test reliability?

a)

By manually adjusting waiting times

b)

By waiting for elements to be ready before executing actions

c)

By using static waiting times

d)

By skipping tests that take too long

23.

What feature of Playwright allows you to monitor test execution step by step?

a)

Codegen

b)

Trace Viewer

c)

Playwright Inspector

d)

Video and Screenshot Support

24.

In terms of debugging, how does Playwright compare to Mabl?

a)

Playwright has limited debugging capabilities, while Mabl offers advanced tools

b)

Playwright offers advanced debugging tools integrated with VS Code, while Mabl has limited options

c)

Both have similar debugging capabilities

d)

Mabl has more debugging tools than Playwright

25.

What is the significance of "Test Tagging" in Playwright?

a)

It helps in creating isolated browser contexts

b)

It allows for grouping and running test cases together

c)

It provides automatic waiting for elements

d)

It integrates with third-party reporting tools