Podcast
Questions and Answers
Which class should be created first?
Which class should be created first?
- Both classes can be created simultaneously
- DemoB
- It doesn't matter
- DemoA (correct)
What does the following code do?
Driver.manage().window().maximize();
What does the following code do?
Driver.manage().window().maximize();
- Open a new browser window
- Minimize the browser window
- Close the browser window
- Maximize the browser window (correct)
What does the following code do?
driver.get(https://www.google.co.in);
What does the following code do?
driver.get(https://www.google.co.in);
- Opens the specified URL in a new tab
- Closes the browser window
- Navigates to the specified URL (correct)
- Redirects to the homepage
What does the following code do?
driver.findElement(By.name(“q”)).sendKeys(“Hi”);
What does the following code do?
driver.findElement(By.name(“q”)).sendKeys(“Hi”);
What is the purpose of the 'lib' folder?
What is the purpose of the 'lib' folder?
What is the purpose of the testng.xml file?
What is the purpose of the testng.xml file?
What does the 'testNG' option do?
What does the 'testNG' option do?
What does the 'Parallel Mode' option do?
What does the 'Parallel Mode' option do?
What is the purpose of adding jar files in the lib folder?
What is the purpose of adding jar files in the lib folder?
What is the purpose of the 'Finish' button?
What is the purpose of the 'Finish' button?
Which option correctly describes the first step to create a Selenium project in Eclipse?
Which option correctly describes the first step to create a Selenium project in Eclipse?
What is the purpose of executing TestNG via command line?
What is the purpose of executing TestNG via command line?
Which step is required to run the testng-failed.xml file from the command line?
Which step is required to run the testng-failed.xml file from the command line?
What is the purpose of the 'src' folder in the project structure?
What is the purpose of the 'src' folder in the project structure?
Which option correctly describes the fourth step to create a Selenium project in Eclipse?
Which option correctly describes the fourth step to create a Selenium project in Eclipse?
What is the purpose of the 'class' option in Eclipse?
What is the purpose of the 'class' option in Eclipse?
Which option correctly describes the third step to create a Selenium project in Eclipse?
Which option correctly describes the third step to create a Selenium project in Eclipse?
What is the purpose of executing TestNG via command line?
What is the purpose of executing TestNG via command line?
Which step is required to run the testng-failed.xml file from the command line?
Which step is required to run the testng-failed.xml file from the command line?
What is the purpose of the 'src' folder in the project structure?
What is the purpose of the 'src' folder in the project structure?
Which option correctly describes the fourth step to create a Selenium project in Eclipse?
Which option correctly describes the fourth step to create a Selenium project in Eclipse?
What is the purpose of the 'class' option in Eclipse?
What is the purpose of the 'class' option in Eclipse?
Which option correctly describes the third step to create a Selenium project in Eclipse?
Which option correctly describes the third step to create a Selenium project in Eclipse?
Which command is used to execute TestNG via Command Line?
Which command is used to execute TestNG via Command Line?
How do you run only failed test cases through Eclipse?
How do you run only failed test cases through Eclipse?
How do you run failed test cases from Command Line?
How do you run failed test cases from Command Line?
What does TestNG generate in its standard report?
What does TestNG generate in its standard report?
What is one of the features provided by TestNG?
What is one of the features provided by TestNG?
How can you execute a specific test case separately in TestNG?
How can you execute a specific test case separately in TestNG?