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

1 / 20

What is the benefit of managing test dependencies in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Which TestNG annotation is used to set up preconditions before executing a test case?

Не верно!

Верно!

Не верно!

Не верно!

What is the purpose of the @FindBy annotation in the Page Object Model?

Верно!

Не верно!

Не верно!

Не верно!

In TestNG, can a class have multiple AfterSuite annotations?

Не верно!

Верно!

Не верно!

Не верно!

What is the purpose of including and excluding methods in a TestNG XML file?

Верно!

Не верно!

Не верно!

Не верно!

How can you include TestNG in your Gradle project?

Не верно!

Не верно!

Не верно!

Верно!

What is the benefit of using a base class for setup and teardown methods?

Верно!

Не верно!

Не верно!

Не верно!

What happens if a dependency exists between parallel test methods in TestNG?

Не верно!

Верно!

Не верно!

Не верно!

Can you use different parameter values for different test methods in the same class?

Верно!

Не верно!

Не верно!

Не верно!

Which attribute is used to specify the order of test methods execution in a TestNG XML file?

Не верно!

Верно!

Не верно!

Не верно!

What is the advantage of using soft assertions over hard assertions?

Верно!

Не верно!

Не верно!

Не верно!

Which annotation is used to indicate a method that should be executed after the entire TestNG suite?

Не верно!

Верно!

Не верно!

Не верно!

How are TestNG HTML reports generated?

Верно!

Не верно!

Не верно!

Не верно!

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

Не верно!

Не верно!

Верно!

Не верно!

Which TestNG annotation is used to mark a method as an AfterClass?

Не верно!

Не верно!

Не верно!

Верно!

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

Не верно!

Верно!

Не верно!

Не верно!

What is the Page Object Model (POM) in TestNG?

Не верно!

Не верно!

Верно!

Не верно!

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

Не верно!

Не верно!

Верно!

Не верно!

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

Не верно!

Верно!

Не верно!

Не верно!

Can a class have multiple methods annotated with @BeforeClass in TestNG?

Не верно!

Не верно!

Не верно!

Верно!

Далее
0 из 20

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

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