Can ATF test cases be triggered from external apps through API?

SK41
Giga Guru

Hi,

 

I have a requirement to trigger the ATF test cases in ServiceNow from the external apps (for example : Cucumber app) through the API. Is it possible to trigger the test cases from external apps? If yes, how can I achieve that?

 

Right now, just analyzing the feasibility of this requirement, any inputs will be valuable.

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @SK41 

 

Check this

https://developer.servicenow.com/blog.do?p=/post/using-atf-rest-api-test-steps/

https://docs.servicenow.com/bundle/tokyo-application-development/page/administer/auto-test-framework...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

these links are related to creating test cases for REST API. My requirement is to trigger the already created test cases from the external apps through the API. Is that possible?

Hi @SK41 

 

My knowledge say NO on this. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Damini Sheth
Tera Contributor

Hi,

 you can check below lilnk:

https://developer.servicenow.com/blog.do?p=/post/using-atf-rest-api-test-steps/

It will help you to resolve your query.

Please mark this response as correct or helpful if it assisted you with your question.