How to open a section in a form in an ATF step?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2020 09:55 PM
Like in an Incident form I want to open the related records tab using the ATF test step.Ho to do that?
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2020 10:17 PM
YOu can follow the approach suggested in below link by georgimavrodiev
or if you are planning to upgrade to orlando then there are some features in it related to ATF
like Validate List UI Action Visibility and Click List UI Action
which will help you to achieve the same.
Mark my ANSWER as CORRECT and HELPFUL if it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2020 10:25 PM
Hi Rahul,
Currently in NewYork version there is no test step to validate related list. So in this case you can do a work around to achieve the functionality. On your behalf i did a search in community and could find few links in which you can go through the replies provided by Georgi Mavrodiev. Hope this will help you.
Please mark this answer correct if it resolved the query and mark it helpful if it helped you at all
Thanks,
Mohit Kaushik
Mohit Kaushik
ServiceNow MVP (2023-2025)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2020 05:51 AM
As others have mentioned, list and related list support are coming out in the Orlando release, but I don't think that's what you're asking about. It sounds like you're asking if you can click on a form tab through an ATF test. The short answer is not with any of the oob steps.
My question is do you need to actually open or click on the tab? You should be able to set and assert values in fields on a different tab than the active tab. What exactly are you trying to do by clicking on another tab? If you just need to see it in a screenshot or something like that you might try turning off Tabbed Forms for your ATF user so that the form is just one long page.