ATF click a button in a popup window

TT21
Tera Contributor

I am trying to complete a procurement order-tracking process in ATF and cannot get past the popup window for the receiving step. I have tried the Click Modal Button but it fails with "Did not find GlideModal". The receive button on the main form calls

TT21_0-1692733862042.png

which displays

TT21_1-1692734030903.png

 

and when I use the inspection tool in the browser I can see the button has id submit_button

TT21_2-1692734087989.png

 

I set the Click Modal Button step with variables

TT21_3-1692734292461.png

any suggestions of how i can fix this?

 

 

1 ACCEPTED SOLUTION

Shaqeel
Mega Sage

Hi @TT21 

 

You can use Custom UI step (Click Component).

Here is the youtube video, this can help.

https://www.youtube.com/watch?v=1lbDM6bhQmc

 

Regrd

Shaqeel


***********************************************************************************************************************
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

View solution in original post

3 REPLIES 3

Elijah Aromola
Mega Sage

Are there any additional spaces around your button name in the configuration? 

TT21
Tera Contributor

It does look like it in the screen shot but I've checked and there are none.

Shaqeel
Mega Sage

Hi @TT21 

 

You can use Custom UI step (Click Component).

Here is the youtube video, this can help.

https://www.youtube.com/watch?v=1lbDM6bhQmc

 

Regrd

Shaqeel


***********************************************************************************************************************
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
If you want to support me then buy me a coffee- https://www.buymeacoffee.com/saaswnow Welcome to ServiceNow Automated Test Framework Crash Course After this course, you will be able to create tests in ATF and perform automated testing for various applications in ServiceNow Platform. ServiceNow ...