click on a related list tab through ATF

admin11345_
Tera Contributor

Step 1:) record query

step 2:) open an existing record

Now I want to click on one of its related list tab on the form

 

step 1 and 2 are done. Please help me how to how to click on a related list tab through ATF  ?

 

4 REPLIES 4

ServiceNow Use6
Tera Guru

Hi,

You can try this.

 

related.png

 

Regards

Suman P.

Shaqeel
Mega Sage

Use " List and Related List " test steps.


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

Ankur Bawiskar
Tera Patron
Tera Patron

@admin11345_ 

you cannot click on related list tab but you can click a list UI action present on related list

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

I have a check box , using set field value to true. I have clicked on the checkbox using ATF.

But that checkbox is in related list tab(I mean after clicking on related list tab, check box will be visible.)

step 1) record query

step 2) open Existing record

step 3) set field value to true(check box click)

 

Got an ATF error : field not visible on form.

Between step 2 and step 3, I need to add a step to click on a related list tab or some how make the check box checking gets captured in the test runner.

 

Kindly help me with this.