<style>.lazy{display:none}</style>Тест по TestNG (en). Часть 7

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

1 / 18

What is the purpose of the assert keyword in TestNG?

Не верно!

Верно!

Не верно!

Не верно!

Which method in the IRetryAnalyzer interface is called to retry a failed test method?

Верно!

Не верно!

Не верно!

Не верно!

How do you ignore a test method in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Which annotation in TestNG is used to mark a method to be run after all tests in a test suite?

Верно!

Не верно!

Не верно!

Не верно!

Can you customize the appearance of TestNG HTML reports?

Не верно!

Верно!

Не верно!

Не верно!

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

Верно!

Не верно!

Не верно!

Не верно!

How can you define test dependencies in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What is the purpose of the TestNG configuration file (testng.xml)?

Не верно!

Верно!

Не верно!

Не верно!

What is the purpose of using @FindBy annotation in Page Factory?

Верно!

Не верно!

Не верно!

Не верно!

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

Не верно!

Не верно!

Не верно!

Верно!

In TestNG, can a class have multiple BeforeClass annotations?

Верно!

Не верно!

Не верно!

Не верно!

Can you have multiple base classes in a TestNG test suite?

Не верно!

Верно!

Не верно!

Не верно!

What is the purpose of TestNG HTML reports?

Не верно!

Не верно!

Не верно!

Верно!

Which TestNG dependency is typically added to a Maven project’s pom.xml file?

Не верно!

Верно!

Не верно!

Не верно!

What happens when a soft assertion fails in TestNG?

Не верно!

Верно!

Не верно!

Не верно!

How can you execute TestNG tests from the command line?

Не верно!

Не верно!

Верно!

Не верно!

What is the purpose of the AfterMethod annotation in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

What is the purpose of ignoring tests in TestNG?

Верно!

Не верно!

Не верно!

Не верно!

Далее
0 из 18

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

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