In ATF, I need to enter data into a popup window during a test step, but I'm facing issues achieving
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 02:58 AM - edited 02-28-2025 02:59 AM
In ATF, I need to enter data into a popup window during a test step, but I'm facing issues achieving this. How can I interact with a popup in ATF and input the required data?"
so i used Set ui component value to set the values for the feilds inside the popup so the issue is when iam setting values instead of showing feild name its showing the sys_id of feilds so it diffcult to ATF to set the values for feild in the popup
NOTE: In Lable column instead of fields it showing feilds sys_id this the many Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 03:05 AM
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
https://www.servicenow.com/community/developer-forum/testing-pop-up-atf/td-p/3061772
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
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 03:31 AM
showing sysId should not stop you from testing this using ATF.
how are you opening that pop-up? via some UI action
share what steps you are using
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
02-28-2025 07:34 AM
You are trying to submit the Risk Assessment on the Change request.
The Questions showing on the Popup will have the SysId of the Change request as an Id of those Questions. Because of this, the Id of those Questions will change every time.
The workaround for ATF is:
Open the Assessment record created for that Change.
Click on 'Take Assessment' UI action.
Using 'Set Component Values (Custom UI)' set the values as needed.
Using 'Click Component (Custom UI)' click on 'Submit' button.
If my answer helped, please mark it as helpful or accept as the solution.
Regards,
Chidanand