ATF - How to Interact with Buttons in a Risk Assessment Form During Test Automation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 08:19 AM
Hello,
I am automating a change management flow and am currently trying to complete the risk assessment form. Though I can bring it up with custom UI, I can't interact with it, as setting the values only gives objects that work once. The object you identify when trying to run the test differs each time you run it.
How do I interact with the buttons within the risk assessment form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 01:36 AM
Hi @Denisa B
You can use Custom UI steps like click Component.
For correctly analyzing the button element you should use manual Page inspector.
Regards
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 05:01 AM
Hello,
I've tried this but the objects retrieved by the custom UI step have a different ID each time the test is run. How do I get around this issue? Is it possible to use a selector to find objects?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 05:37 AM
Like I said, you need to use manual page inspector to identify the correct element.
You are not using the correct one.
Regards
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 06:27 AM
I've already tried using the manual page inspector. Just to clarify, I'm trying to interact with the pop-up version of the risk assessment within a change request form.