The CreatorCon Call for Content is officially open! Get started here.

How to open a section in a form in an ATF step?

Rahul33
Kilo Contributor

Like in an Incident form I want to open the related records tab using the ATF test step.Ho to do that?

3 REPLIES 3

Ct111
Tera Sage

YOu can follow the approach suggested in below link by georgimavrodiev

 

https://community.servicenow.com/community?id=community_question&sys_id=b4e96726db1e53c02328f3231f96...

 

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.

Mohit Kaushik
Mega Sage
Mega Sage

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.

https://community.servicenow.com/community?id=community_question&sys_id=b4e96726db1e53c02328f3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=24c7e15fdb94d7444e1df4621f96...

https://community.servicenow.com/community?id=community_question&sys_id=4c228fe9db98dbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=5d1a8769db5cdbc01dcaf3231f96...

 

Please mark this answer correct if it resolved the query and mark it helpful if it helped you at all

 

Thanks,

Mohit Kaushik

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)

Brad Tilton
ServiceNow Employee
ServiceNow Employee

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.