Hard dependencies vs Soft dependencies (TestNG) N B 3/30/2018 06:14:00 pm 0 Let us say test1 method depends on test2 method. Hard dependencies In this type of dependency, if test2 fails, test1 is not executed an... Read more »
Trigger Specific TestNG.xml through Jenkins for Maven Project N B 2/06/2018 04:53:00 pm 2 When we are testing our project. It usually consists of multiple TestNG.xml files To Run a specific Xml File We have to add specific p... Read more »
Pass Multiple data through Data Provider N B 2/06/2018 04:48:00 pm 0 import org.testng.annotations.DataProvider; import org.testng.annotations.Test; public class myclass { @DataProvider(name="my... Read more »
@BeforeTest @BeforeClass @BeforeMethod @Test Annotations in TestNG N B 6/26/2015 09:37:00 pm 0 package testSuite; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import org.testng.... Read more »
How to Create testng.xml file and run all tests through a bat file N B 12/09/2014 04:56:00 pm 0 TestNG provides a feature to run all the test from a single configuration xml file. We need to create testng.xml file in Eclipse from M... Read more »
How to run Selenium Tests from command line usingTestNG N B 11/30/2014 02:23:00 am 0 We can run Selenium TestNG Tests from command line directly without eclipse. For this you will need to create testng.xml file mentioning... Read more »
Data Driven Testing Using Data Provider Annotation of TestNG N B 10/15/2014 04:57:00 pm 0 @DataProvider Is TestNG annotation. @DataProvider Annotation of testng framework provides us a facility of storing and preparing data set ... Read more »