Unable to create an ATF test for P1 incident as i cannot select an option from context menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 01:13 AM
I want to create an ATF test case for P1 incident flow for my organization.
I need to click "Propose Major Incident" option from the context menu of incident form like shown in the screenshot below. I tried doing that by using Click UI Action : Selected propose major incident ui action but it is failing
Any idea here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 01:21 AM - edited 01-15-2025 01:25 AM
Did you try checking other form context menu?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 01:24 AM
are you sure the UI action is present in the correct view?
I am able to click Form Context menu?
Are you user the user with whose ID you are running the ATF satisfies the condition for visibility?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 10:58 PM
Hi @Nafeesa bashir ,
When you are clicking on that UI action 'Propose Major Incident' the form actually does not submit to the server.
So, change the 'Assert type' on the test step as 'None' or 'Page reloaded or redirected' and it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 12:24 AM
You are using wrong steps.
You want to click context menu, but you are using UI action.
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel