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

1 / 23

How can you perform a click operation on an element using Page Factory?

Верно!

Не верно!

Не верно!

Не верно!

Which annotation can be used to specify a method that should be executed after all the tags in a TestNG suite?

Не верно!

Верно!

Не верно!

Не верно!

What are the different parallel execution modes available in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Which class is used to create Page Factory objects in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

How can you group multiple test methods together for execution in a TestNG XML file?

Не верно!

Не верно!

Верно!

Не верно!

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

Верно!

Не верно!

Не верно!

Не верно!

How many times will a method annotated with @BeforeMethod be executed in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

How do you pass parameters to a test method in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

How can you specify multiple include patterns for test methods in a TestNG XML file?

Не верно!

Не верно!

Верно!

How can you pass data from a test case to a Page Library method?

Не верно!

Не верно!

Верно!

Не верно!

What is the order of execution for multiple BeforeClass annotations in a TestNG test class?

Не верно!

Не верно!

Верно!

Не верно!

What is parallel execution in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Which TestNG class is commonly used for soft assertions?

Верно!

Не верно!

Не верно!

Не верно!

How can you create test suites based on groups in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What is the purpose of the tag in a TestNG XML file?

Верно!

Не верно!

Не верно!

Не верно!

How can you perform a click operation on an element in the Page Object Model?

Верно!

Не верно!

Не верно!

Не верно!

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

Не верно!

Верно!

Не верно!

Не верно!

What is the purpose of the TestNG plugin for build tools like Maven and Gradle?

Верно!

Не верно!

Не верно!

Не верно!

Which attribute is used to specify the regular expression pattern for including test methods in a TestNG XML file?

Не верно!

Не верно!

Верно!

Не верно!

How can you include all methods from a test class in a TestNG XML file?

Не верно!

Не верно!

Верно!

Не верно!

What happens when multiple methods are annotated with @BeforeMethod in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What is Page Factory in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

Where should the @Ignore annotation be placed to ignore a test method in TestNG?

Не верно!

Верно!

Не верно!

Не верно!

Далее
0 из 23

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

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