testing pop-up ATF

mariavic1998
Tera Contributor

Hi Everyone, do you have any idea if this pop up can be tested with ATF? : 

mariavic1998_0-1727823255296.png

It has to be tested by setting a value in the field and then clicking the 'submit' button, but I'm not sure if that's possible with ATF.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @mariavic1998 ,

Pop up window are not supported in ATF currently.

Please find the below article

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0786683

However, you can try using Custom UI step (Click Component).

Here is the youtube video, this can help.

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

View solution in original post

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 ...
3 REPLIES 3

Community Alums
Not applicable

Hi @mariavic1998 ,

Pop up window are not supported in ATF currently.

Please find the below article

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0786683

However, you can try using Custom UI step (Click Component).

Here is the youtube video, this can help.

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

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

Thank you Sandeep, this was very helpful! 

NayanP
Tera Contributor

Hi, The JavaScript message pop-up is not supported by ATF however the pop=up window is mention to the screenshot is supported by ATF Custom UI steps

First, you need to 'Set Component Values'

then. Click Component

 

If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.