TestNG Quiz Advance Level

Welcome to your TestNG Quiz Advance Level

 

For your information, please note that this TestNG quiz has only single choice questions. Read each and every questions carefully before you start answering.. You will have 10 min to complete the quiz. Press the Start quiz button to initiate the quiz. Once complete you press Finish button to complete the test.

After completion of test you can see your quiz result with sharing option, You can share your quiz result to social media like Facebook, Instagram etc.

Note: You can view all the answers at the end of this quiz. Best of luck for TestNG Quiz Basic Level

Which of the following @Test attribute creates dependency in TestNG?
How does one configure a custom reporter to be used by TestNG?
Which of the following are hard assertion methods?
What are the attributes of @Test?
Which of the following are build tools?
Which of the following statements are true about TestNG grouping?
Which data type is returned by Factory Method?
Which option completes the code for testng.xml to run the method belonging to Group 1 and Group 3?<suite name = “Test Suite” verbose = “1”>

<test name= “ My Test Using TestNG XML”>

<groups>

<run>

--------------------------

</run>

</groups>

<classes>

<class name = “com.mycompany.service.FirstTest”/>

</classes>

</test>

</suite>

Which of the following is true about the Factory Features?
Which test method uses the below DataProvider correctly?

@DataProvider(.name = “data”)

Public static Object[][] getData(){

  • - -- - - - - -- - - -
  • - -- - - - - - - - -

}

Which Annotation is used for parameterization in TestNG?
Why you download Hudson on windows, What file format are you expected to get?
Which data types is returned by the dataProvider method?
Which of the following statements are true about the TestNG dependency features?

Leave a Reply

Your email address will not be published. Required fields are marked *