How to automate ATF test execution

Oleg Rubinchik
Tera Contributor

I need a way how to initiate the execution of the pre-created ATF case from the backend call. I was under impression that I can use something like:


var runner = new sn_atf.AutomatedTestFramework();

var executionId = runner.startTest('my test sys_id');

 

but does not seem it exists.

 

Do you know what is available?

 

We currently in Zurich release. 

1 ACCEPTED SOLUTION

Tanushree Maiti
Mega Patron

Hi @Oleg Rubinchik 

 

Using scheduled job it can be automated. Job run frequency you can set as per your requirement.

Invoking "Execute Now" for Scheduled Jobs using Javascript

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

2 REPLIES 2

Tanushree Maiti
Mega Patron

Hi @Oleg Rubinchik 

 

Using scheduled job it can be automated. Job run frequency you can set as per your requirement.

Invoking "Execute Now" for Scheduled Jobs using Javascript

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi  @Tanushree Maiti 

Thanks, it is working.