Not able to see Run Test Button (ATF).

Saurabh Gaikwad
Mega Expert

Not able to see Run Test button on Test (ATF). Also I have check properties and enable test/test suite execution and also Enable scheduled test suite execution but still not visible the button. whenever I open the test it will show the message:- 

Running tests and test suites is disabled while impersonating another user.  

why I am facing this issue?

find_real_file.png

 

 

 

4 REPLIES 4

Sachin Rai
Giga Contributor

Hi Saurabh,

Are you running this test while impersonating someone? If yes, that could be an issue. 

Please make sure that you are logged in to ServiceNow instance as yourself while running the tests.

Regards,

Sachin

 

Hope my answer helped you, if it did please mark it helpful/correct.

Cheers and Stay Safe!!!

Prasad Pagar
Mega Sage

Hi,

Always check info message coming in ServiceNow. You are running test as Impersonated user.

find_real_file.png

Thank you
Prasad

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

The UI Action Run Test is not allowed to be seen if you have impersonated and hence you cannot run it.

Please check the UI Action condition

!((new GlideImpersonate()).isImpersonating()) && sn_atf.AutomatedTestingFramework.isRunnerEnabled() && current.active && GlideMobileExtensions.getDeviceType() == 'doctype'

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

PavanK2112
Tera Contributor

Please verify the ATF property are enabled - nav_to.do?uri=%2Fsystem_properties_ui.do%3Fsysparm_title%3DAutomated%20Test%20Framework%20Properties%26sysparm_category%3DTest%20and%20Test%20Suite%20Properties,Test%20Debugging%20Properties,Screenshot%20Properties,Custom%20UI%20Page%20Data%20Capture%20Properties,Test%20Ru