Podcast
Questions and Answers
Which button do you click to create class DemoA?
Which button do you click to create class DemoA?
- Properties
- Finish (correct)
- TestNg
- Java Project
Which line of code maximizes the browser window?
Which line of code maximizes the browser window?
- Driver.manage().window().maximize(); (correct)
- driver.get(https://www.google.co.in);
- driver.findElement(By.name(“q”)).sendKeys(“Hi”);
- None of the above
What should you do if you see errors in the code for class DemoA?
What should you do if you see errors in the code for class DemoA?
- Add the corresponding jar file
- Right click on the Java Project and Select “Properties”
- Click on Java Build path on the left navigation pane
- All of the above (correct)
What is the purpose of the 'lib' folder?
What is the purpose of the 'lib' folder?
What is the next step after creating the 'lib' folder?
What is the next step after creating the 'lib' folder?
How do you convert DemoA and DemoB into a testNG.xml file?
How do you convert DemoA and DemoB into a testNG.xml file?
What does the testng.xml suite file look like?
What does the testng.xml suite file look like?
How do you execute the testng.xml file from Eclipse?
How do you execute the testng.xml file from Eclipse?
What will be displayed on the console window after executing the testng.xml file?
What will be displayed on the console window after executing the testng.xml file?
What is the purpose of the TestNG library?
What is the purpose of the TestNG library?
Which of the following is the correct sequence of steps to create a Selenium project in Eclipse?
Which of the following is the correct sequence of steps to create a Selenium project in Eclipse?
What is the purpose of executing a Selenium project to TestNG?
What is the purpose of executing a Selenium project to TestNG?
How can you run only the failed test cases in TestNG?
How can you run only the failed test cases in TestNG?
What is the purpose of the 'src' folder in Eclipse?
What is the purpose of the 'src' folder in Eclipse?
What is the purpose of creating a package in a Selenium project?
What is the purpose of creating a package in a Selenium project?
What is the purpose of creating a class in a Selenium project?
What is the purpose of creating a class in a Selenium project?
What is the purpose of selecting a superclass in a Selenium project?
What is the purpose of selecting a superclass in a Selenium project?
What is the purpose of the TestNG framework in Selenium?
What is the purpose of the TestNG framework in Selenium?
What is the purpose of the testng-failed.xml file in TestNG?
What is the purpose of the testng-failed.xml file in TestNG?
What is the purpose of the 'New' option in Eclipse?
What is the purpose of the 'New' option in Eclipse?
Which command is used to run TestNG via command line?
Which command is used to run TestNG via command line?
Which step is used to find the location of the project workspace?
Which step is used to find the location of the project workspace?
What is the purpose of the 'testng-failed.xml' file?
What is the purpose of the 'testng-failed.xml' file?
How many test cases can be grouped easily and executed by converting test classes into testing suite file in TestNG?
How many test cases can be grouped easily and executed by converting test classes into testing suite file in TestNG?
What does the 'log' method of the Reporter class in TestNG do?
What does the 'log' method of the Reporter class in TestNG do?
What is the purpose of TestNG in automation testing?
What is the purpose of TestNG in automation testing?
How many test cases are there in a standard TestNG report?
How many test cases are there in a standard TestNG report?
What is the location of the project workspace in the given example?
What is the location of the project workspace in the given example?
What happens if a test case fails while executing multiple test cases in TestNG?
What happens if a test case fails while executing multiple test cases in TestNG?
What is the purpose of the 'test-output' folder in TestNG?
What is the purpose of the 'test-output' folder in TestNG?