Search Header Logo

Câu hỏi về TestCafe - Phần 1

Authored by NguyễnThịKimNgọc_DTH205892 _DH21TH2

English

1st Grade

Câu hỏi về TestCafe - Phần 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào dùng để khởi tạo một test trong TestCafe?

fixture

test

startTest

runTest

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa nào dùng để định nghĩa một fixture trong TestCafe?

fixture

describe

context

group

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để nhấp vào một nút trong TestCafe, bạn sử dụng API nào?

click(selector)

pressButton(selector)

select(selector)

trigger(selector)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để gõ văn bản vào một ô nhập liệu, bạn sử dụng câu lệnh nào?

t.inputText(selector, text)

t.typeText(selector, text)

t.fill(selector, text)

t.write(selector, text)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào dùng để chờ đợi một phần tử xuất hiện trong DOM?

t.expect(selector.exists).ok()

t.waitFor(selector)

t.wait(selector.exists)

t.isVisible(selector)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong TestCafe, từ khóa nào để chạy đồng thời nhiều test?

concurrent

parallel

runConcurrent

runner.concurrency()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để chạy test trong chế độ ẩn trình duyệt, bạn dùng lệnh nào?

--headless

--hide

--no-ui

--invisible

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?