Podcast
Questions and Answers
Which attribute is used to log the execution details in the console?
Which attribute is used to log the execution details in the console?
Which value can be used for the 'Parallel' attribute to run scripts parallel?
Which value can be used for the 'Parallel' attribute to run scripts parallel?
What is the default value of the 'Parallel' attribute?
What is the default value of the 'Parallel' attribute?
What is the purpose of the 'name' attribute in TestNG?
What is the purpose of the 'name' attribute in TestNG?
Signup and view all the answers
What is the purpose of the 'thread-count' attribute in TestNG?
What is the purpose of the 'thread-count' attribute in TestNG?
Signup and view all the answers
What is the purpose of the 'verbose' attribute in TestNG?
What is the purpose of the 'verbose' attribute in TestNG?
Signup and view all the answers
What is the value of the 'verbose' attribute to get more detailed and clearer log details in the console?
What is the value of the 'verbose' attribute to get more detailed and clearer log details in the console?
Signup and view all the answers
What should be done to execute multiple tests in parallel using TestNG?
What should be done to execute multiple tests in parallel using TestNG?
Signup and view all the answers
What is the recommended way to execute the testng.xml file?
What is the recommended way to execute the testng.xml file?
Signup and view all the answers
What does TestNG provide an option for?
What does TestNG provide an option for?
Signup and view all the answers
Which method is used to log in to Flipkart?
Which method is used to log in to Flipkart?
Signup and view all the answers
What is the CSS selector used to find the login form input for the user email in Flipkart?
What is the CSS selector used to find the login form input for the user email in Flipkart?
Signup and view all the answers
Which method is used to search for a product in SnapDeal?
Which method is used to search for a product in SnapDeal?
Signup and view all the answers
What is the CSS selector used to find the first item in the search results in SnapDeal?
What is the CSS selector used to find the first item in the search results in SnapDeal?
Signup and view all the answers
Which method is used to remove an item from the cart in SnapDeal?
Which method is used to remove an item from the cart in SnapDeal?
Signup and view all the answers
Which method is used to accept an alert in SnapDeal?
Which method is used to accept an alert in SnapDeal?
Signup and view all the answers
Which method is used to log out from Flipkart?
Which method is used to log out from Flipkart?
Signup and view all the answers
Which method is used to maximize the browser window in SnapDeal?
Which method is used to maximize the browser window in SnapDeal?
Signup and view all the answers
Which method is used to set the implicit wait time in SnapDeal?
Which method is used to set the implicit wait time in SnapDeal?
Signup and view all the answers
Which method is used to navigate to a URL in SnapDeal?
Which method is used to navigate to a URL in SnapDeal?
Signup and view all the answers
Which of the following is a benefit of running test methods, test classes, and test cases in parallel using TestNG?
Which of the following is a benefit of running test methods, test classes, and test cases in parallel using TestNG?
Signup and view all the answers
What is the purpose of the TestNG.xml file in TestNG?
What is the purpose of the TestNG.xml file in TestNG?
Signup and view all the answers
Which step is required to run multiple classes (suites) using TestNG?
Which step is required to run multiple classes (suites) using TestNG?
Signup and view all the answers
What is the purpose of the @BeforeClass annotation in TestNG?
What is the purpose of the @BeforeClass annotation in TestNG?
Signup and view all the answers
What is the purpose of the @Test annotation in TestNG?
What is the purpose of the @Test annotation in TestNG?
Signup and view all the answers
Which WebDriver is used in the code provided in the text?
Which WebDriver is used in the code provided in the text?
Signup and view all the answers
What is the purpose of the driver.manage().window().maximize() method in the code?
What is the purpose of the driver.manage().window().maximize() method in the code?
Signup and view all the answers
What is the purpose of the driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS) method in the code?
What is the purpose of the driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS) method in the code?
Signup and view all the answers
What is the purpose of the driver.navigate().to("https://www.flipkart.com") method in the code?
What is the purpose of the driver.navigate().to("https://www.flipkart.com") method in the code?
Signup and view all the answers
What is the purpose of the @AfterClass annotation in TestNG?
What is the purpose of the @AfterClass annotation in TestNG?
Signup and view all the answers