Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Click Modal Button is not working

Rekha Tiwari
Kilo Guru

Hi All,

I am writing ATF for major incident.

When I write step to click on Promote to Major Incident ui action, a UI page opens up (shared in screenshot). In test steps , I set field values and then write step as Click on modal button but getting failure summary as 'FAILURE: Did not find GlideDialogWindow or GlideModal'.

Can anyone please help to resolve this where I am doing wrong?

 

Thanks.

8 REPLIES 8

Hemant Goldar
Mega Sage

Hi Rekha,

please refer below screenshot of the test step.

find_real_file.png

Hope this helps!

Please mark the reply as Helpful/Correct, if applicable.

Regards,
Hemant

Thanks fro response Hemant.

If I am adding step as Set Component Values (Custom UI), I am getting pop as shown in screenshot. can you please suggest on this?

 

Hi, Rekha

 

I have attached a screen-shot below Test steps. It's running successfully, I'm not getting any popup.

find_real_file.png

 

follow the link also to check more about Retrieved page components

https://docs.servicenow.com/bundle/orlando-application-development/page/administer/auto-test-framewo...

 

Hope this helps!

Please mark the reply as Helpful/Correct, if applicable.

Regards,
Hemant

 

 

Hi Hemant,

Can you take a look on screenshot and suggest me to what to choose & fill.