Not able to see Run Test Button (ATF).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2021 11:47 PM
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?
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:38 AM
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!!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 01:01 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 02:08 AM
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