Call a TestNG Test from another TestNG test - Not in Same ClassSame Class | Selenium Forum
N
Nikita Shrivastava Posted on 31/03/2019

I am working on Application where a certain Test needs to be run or called before I run tests further down. My problem is how do I call these repetitive test from another test, but it should carry the data provider of the calling test to the called test?

1. Is there a better way to solve this problem, Iam sure other people would have faced this issue. 


A
Ashish Thakur Replied on 02/04/2019

Keep tests in a single file and give them priority