TestNG Quiz Intermediate Level May 20, 2021 Leave a Comment on TestNG Quiz Intermediate Level Welcome to your TestNG Quiz Intermediate Level For your information, please note that this Java quiz Intermediate Level 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. After timer finished count downing, quiz will be submitted automatically. 1 Which of the following statements are true regarding the code provided below? <suite name =” Test Suite” verbise = “1”> <test name = “My Math Test Using TestNG XML”> <classes> <class name =” com.mycompany.servce.FirstTest”/> </classes> </test> <test name = “My Math Test Using TestNG XML”> <classes> <class name =” com.mycompany.servce.SecondTest”/> </classes> </test> </suite> Two tests are defined but only the second test will run successfully Two tests are defined but only the first test will run successfully Two tests are defined but only the code will run successfully Two tests are defined but only the code contains error 2 Which of the following interface need to be implemented to create a custom listener? Org.testng.TestListener Org.testng.ITestListener Org.testng.Listener Org.testng.CustomListener 3 Which of the following are the tasks build tool commonly performed? Generate Test code Compile Publish Generate project prototype 4 Which of the following are the valid Hudson build trigger? Build after another project are built Build Once Build triggered from custom script Poll SCM 5 Which of the following is the default TestNG report output folder? testresult testNG testoutput test 6 Which of the following Ant terminology corresponding to a command? Project Target Tasks Step 7 Which of the following are parameters associated with multithread in testing.xml? thread-count multi-thread pool-size parallel 8 Which of the following are benefits of TestNG multithreading? Increase Test accuracy Reduce execution of Testing Time Less testing code is required Test multiply browsers and operation system simultaneously 9 Which of the following are the SVN command? Commit Insert Add Compile 10 Which of the following pom.xml elements are children of ? Please fill in the comment box below.