Unable to create an ATF test for P1 incident as i cannot select an option from context menu

Nafeesa bashir
Tera Contributor

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?

 

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Nafeesa bashir 

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.

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Nafeesa bashir 

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.

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

Chidanand_VK
Tera Expert

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.

Snag_33987887.png

 

If my answer helped you in any way, please mark it as helpful or correct.
 
Regards,
Chidanand Kalmani

Hi @Nafeesa bashir 

 

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