ATF getting stuck and timed out

Esayas
Kilo Expert

Recently the execution of some of the tests I'm working on gets stuck and timed out after a while. I even checked the ones that were passing and some has the same issue. Do I need to contact ServiceNow ppl? 

1 ACCEPTED SOLUTION

Esayas
Kilo Expert

I have found this and it solved my problem. Test debugging properties was checked on my instance. 

///////// 

Workaround

Turning off debug mode will allow ATF tests to pass that are encountering this issue.

  • Navigate to: Automated Test Framework -> Administration -> Properties
  • Under "Test Debugging Properties" uncheck the "Yes" checkbox for "Enables additional debugging functionality..."
  • Save the form.

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.


Related Problem: PRB1378364
///////

View solution in original post

3 REPLIES 3

Tony DiRienzo
Giga Guru

Make sure you keep the browser tab that is running the test in focus.  I have had ATF time out on me in New York when I do not have the browser tab which is running the test in focus.  However, whenever I keep the browser tab which is running the test in focus, the test completes. I have tested this to see if it was really the cause, and I am able to repeatedly cause the test to time out by starting the test, then clicking on a different browser tab.  Hopefully this helps you.

Esayas
Kilo Expert

Thanks Tony, I tried that but the problem still persists. It finishes the execution but it is not coming out of it. I have included a screen shot.

find_real_file.png    

Esayas
Kilo Expert

I have found this and it solved my problem. Test debugging properties was checked on my instance. 

///////// 

Workaround

Turning off debug mode will allow ATF tests to pass that are encountering this issue.

  • Navigate to: Automated Test Framework -> Administration -> Properties
  • Under "Test Debugging Properties" uncheck the "Yes" checkbox for "Enables additional debugging functionality..."
  • Save the form.

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.


Related Problem: PRB1378364
///////