ATF Scheduled Client Test Runner not triggering

Dion1
Giga Contributor

I'm trying to run simple scheduled test suites. They load up into Active Scheduled Test Runners and the Last Checkin column stays up to date. All the tests work individually, the suites work manually, and the suites work with Execute Now under scheduled. Have tried Chrome, FireFox, IE, and Edge. The Test Runners just sit and spin on "waiting for a test to run". I've done daily time schedules and periodic schedules

Using Kingston, testing Properties set to yes, runner properties: Timeout - 1800; Heartbeat - 60; Retention - 5  days.

One thing to note is a previous solution was to set the timezone to Central, haven't located a timezone option in Suite Schedules.

 

Thank you,

Dion

 

1 ACCEPTED SOLUTION

Dion1
Giga Contributor

I did find an answer to this, your test cases and test suites can all be at the application level but the automated scheduler for GUI apps has to be at the global level for it to be recognized.

 

V/R,

Dion

View solution in original post

6 REPLIES 6

Ankush Agrawal
ServiceNow Employee
ServiceNow Employee

Hi Dion

I believe you don't have a machine where a test runner is already opened manually. The scheduled suite works great if there are only Server Side Steps. If there is any UI step, then a runner has to be present on which the tests can be executed. For this, you can leave a runner always on a machine. Schedule runs will execute the tests on that active runner.

--

Best regards

Ankush

Dion1
Giga Contributor

Thank you Ankush,

 

I actually had 1-4 Scheduled Test Runners running, 1 for each specified browser during the scheduled times of the scheduled suites.

 

All worked fine when I pushed the Execute Now button, they launched in the assigned browser with the active Scheduled Test Runners.

 

Otherwise, they all wait in the queue, they just don't trigger as scheduled, while Scheduled Test Runners are waiting for a test.

 

Thank you,

Dion

Yernie
Kilo Contributor

I got the same issue, were you able to get the scheduled tests to execute?

 

thanks

bbf3562
Kilo Guru

I believe the computer/laptop have to be on and open with your SN account logged on for ATF scheduled test to be able to run. It will not run if the computer turned off or logged off. This is the biggest downfall of ATF scheduled test.