Use Of preserve-order In TestNG With Selenium WebDriver

preserve-order Is very Important attribute In TestNG. In Selenium WebDriver test execution, Many times peoples are complaining like my test cases execution not runs In correct sequence as given In testng.xml file but they are being executed In random sequence(unpredictable order). Actually they have copy pasted testng.xml file from somewhere with attribute preserve-order=”fasle” but they don’t know meaning … Read more

Selenium WebDriver with TestNG Interview Questions With Answers

Part 14 63 : What Is TestNG? Answer : TestNG Is Open Source(Freeware) framework which Is Inspired from NUnit and JUnit with Introducing few new features and functionality compared to NUnit and JUnit to make It easy to use and more powerful. We can use TestNg with selenium webdriver software testing tool to configure and … Read more

Using Single @DataProvider Method To Store All WebDriver Test Case Data

We have learnt how to create and store multiple @DataProvider methods In single class file called dataProvider_Repository.java and then we can use those data In different test case execution as described In THIS PAGE. Using this, We can manage data of all test cases very easily In single file and If you wants to modify test data … Read more

JUnit With Selenium WebDriver Interview Questions And Answers

Part 13 58 : Tell me main features of JUnit. Answer : JUnit features are as bellow. JUnit Is unit software testing framework. So It helps software developers to create and run unit test cases very easily. There are many different annotations available In JUnit. Using all those annotations, we can Identify and configure webdriver software test case … Read more