Can we schedule running of Test Scenarios using the Keyword/hybrid framework you have explained in your tutorial ? If yes than how ?

Can we schedule running of Test Scenarios using the Keyword/hybrid framework you have explained in your tutorial ? If yes than how ? For Example if I need to run test scenarios in excel during night time .

Add Comment
1 Answer(s)

You can create  time scheduled job using continuous integration tool Jenkins which will execute below command

java -cp lib/jar*  org.testng.TestNG <path to testng.xml>

that will run all the methods/classes/suite mentioned in testng.xml

amitjain Supporter Answered on May 4, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.