Тест по TestNG (en). Часть 10

1 / 20

Which annotation is used to enable the execution of a method after all the test methods in a class?

Не верно!

Не верно!

Верно!

Не верно!

How do you create a Page Library in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

What is the purpose of the BeforeMethod annotation in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Which attribute of the @Test annotation is used to specify the expected exception of a test method?

Верно!

Не верно!

Не верно!

Не верно!

Where can you find the TestNG plugin for IntelliJ IDEA?

Не верно!

Не верно!

Не верно!

Верно!

In TestNG, what happens if there are multiple methods annotated with @BeforeClass in a test class?

Верно!

Не верно!

Не верно!

Не верно!

Which parallel mode executes test cases within the same class in parallel?

Верно!

Не верно!

Не верно!

Не верно!

Can you include/exclude specific test methods from a flow library in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

What is the purpose of the @AfterSuite annotation in TestNG?

Не верно!

Не верно!

Не верно!

Верно!

How can you exclude specific methods from execution in a TestNG XML file?

Верно!

Не верно!

In TestNG, can a class have multiple AfterClass annotations?

Верно!

Не верно!

Не верно!

Не верно!

Which method is used to retrieve the value of an element in the Page Object Model?

Не верно!

Не верно!

Верно!

Не верно!

What is the purpose of the BeforeSuite annotation in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

Can you specify multiple test methods to be included or excluded using a TestNG XML file?

Не верно!

Верно!

Не верно!

Не верно!

Which parallel mode executes test cases within the same tag in parallel?

Не верно!

Не верно!

Верно!

Не верно!

What is the purpose of using List in TestNG Page Factory?

Верно!

Не верно!

Не верно!

Не верно!

How can you include specific methods for execution in a TestNG XML file?

Верно!

Не верно!

Which TestNG annotation is used to mark a method as a test case?

Верно!

Не верно!

Не верно!

Не верно!

How can you exclude specific groups from execution in TestNG?

Не верно!

Не верно!

Не верно!

Верно!

Which attribute is used to specify the package name for including or excluding methods in a TestNG XML file?

Не верно!

Верно!

Не верно!

Не верно!

Далее
0 из 20

Поздравляем с прохождением теста! А теперь предлагаем почитать статьи по тестированию на нашем сайте!

Интересно, хочу попробовать