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

1 / 20

In TestNG Page Factory, what is the purpose of the @FindBy annotation?

Верно!

Не верно!

Не верно!

Не верно!

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

Не верно!

Не верно!

Верно!

Не верно!

How can you include additional information in TestNG HTML reports?

Не верно!

Не верно!

Верно!

Не верно!

Which TestNG annotation is used to mark a method as a BeforeMethod?

Не верно!

Не верно!

Не верно!

Верно!

What is the purpose of a Data Provider method in TestNG?

Не верно!

Верно!

Не верно!

Не верно!

Which attribute of the tag in TestNG XML file is used to specify the name of the test?

Верно!

Не верно!

Не верно!

Не верно!

What is a Data Provider in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What are TestNG HTML reports?

Верно!

Не верно!

Не верно!

Не верно!

How can you initialize a Page Object in a TestNG test class?

Не верно!

Верно!

Не верно!

Не верно!

Which TestNG class is commonly used for hard assertions?

Верно!

Не верно!

Не верно!

Не верно!

Can you control the number of threads used for parallel execution in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What is the purpose of the AfterSuite annotation in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

How can you create a Page Object in TestNG?

Не верно!

Не верно!

Не верно!

Верно!

What is the purpose of creating a base class in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What is the purpose of using parameters in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Which exception is thrown when an element is not found in the Page Object Model?

Не верно!

Не верно!

Не верно!

Верно!

In TestNG, can a class have multiple BeforeMethod annotations?

Не верно!

Верно!

Не верно!

Не верно!

How can you specify the data provider for a parameterized test in a TestNG XML file?

Не верно!

Верно!

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

Не верно!

Не верно!

Верно!

Не верно!

How can you link a Data Provider to a test method in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

Далее
0 из 20

Поздравляем с прохождением теста! Для улучшения знаний по TestNG и автоматизации тестирования – перейдите в наш канал “Автоматизация тестирования” по кнопке ниже

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