Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

How TestNG allows to state dependencies?

Category: TestNG
Using attributes dependsOnMethods in @Test annotations.

@Test(dependsOnMethods = {""testCase2""})
Using attributes dependsOnGroups in @Test annotations.


 

 
 
               
                    
                          
                    
                
 
 
 
 
 
 

Leave a Reply

Your email address will not be published. Required fields are marked *