ATF Schedule error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 3 hours ago
While running the ATF schedule, I'm encountering the following error. I tried closing all extra tabs, and when I re-run the schedule, it works at that moment. However, when I check the schedule results the next day, I get the same error again. Is there a solution for this?
A scheduled client test runner that satisfies these client constraints is not available: | Browser name: Any | Browser version: any | OS Name: Any | OS Version: any
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @Kri,
This error message indicates that your scheduled test suite requires a client-side test runner to execute its steps, but it cannot find an available one. Scheduled ATF tests that interact with the UI (like opening forms or validating fields) need an active, dedicated browser session to run in. The issue is recurring because the browser tab you manually open to run the test is likely being closed or timed out by the next day, making it unavailable for the scheduled job.
The permanent solution is to dedicate a machine (or a virtual machine) that remains logged into ServiceNow with an active "Scheduled Client Test Runner" window open and running at all times. This runner window is different from the one used for manual tests and is specifically designed to listen for and execute scheduled jobs. By ensuring this runner is always available, your scheduled ATFs will have the necessary environment to execute their client-side steps whenever they are triggered.
For further details, refer to the official ServiceNow documentation:
- https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0717236
- https://www.servicenow.com/docs/bundle/zurich-application-development/page/administer/auto-test-fram...
- https://developer.servicenow.com/dev.do#!/learn/learning-plans/xanadu/servicenow_application_develop...
Hope this helps!
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution and helpful so others can benefit as well.