Store And Access All DataProviders From Single File For WebDriver Test Cases

We have already learnt how to create and use testng data providers In selenium webdriver test cases In THIS POST. Also we have used testng data providers In Selenium WebDriver Data Driven Framework creation so all you are now very familiar with testng data providers and how to use them In our automation test case creation. … Read more

Selenium WebDriver With JUnit Interview Questions With Answers Part 12

Part 12 53 : Which Is the latest version of JUnit. Answer : Current latest version of JUnit Is 4.12-beta-2. This can change In future. To check latest released version of JUnit, You can Visit JUnit Official WebSite. 54 : Tell me different JUnit annotations and Its usage. Answer : JUnit has bellow given different annotations. @Test  : @Test annotation Is useful … Read more

Executing Selenium WebDriver Test Classes Parallel Using TestNG

Sometimes you need to execute multiple test cases at same time to save test execution time. TestNG has very good feature to execute test cases/classes In parallel to each other means you can execute two different test cases In two different windows of same browser simultaneously. If you remember, We have already learnt how to execute … Read more

Interview Questions For Selenium WebDriver Part 11

Part 11 48 : Can you tell me a syntax to close current webdriver Instance and to close all opened webdriver Instances? Answer : Yes, To close current WebDriver Instance, We can use Close() method as bellow. driver.close(); If there are opened multiple webdriver Instances and wants to close all of them then we can use webdriver’s quit() method … Read more