We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Validating Related List Records in ATF

Khalid9030
Tera Contributor

Hello Team,

 

We have an ATF requirement as follows:

  1. Create a new record and attach a file to that record.
  2. Run a scheduled job that imports data into other tables.
  3. Open the newly created record from step 1 and validate the related list records.

Steps 1 and 2 can be achieved in ATF. However, regarding step 3, if it is possible to do this in ATF, please let me know how it can be done.

7 REPLIES 7

Ankur Bawiskar
Tera Patron

@Khalid9030 

you can try to add steps but let us know if stuck somewhere

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

SN_Learn
Kilo Patron

@Khalid9030 ,

 

You can pass the sys_id as below:

SN_Learn_0-1734351653448.png

 

Click on highlighted and select the step:

SN_Learn_1-1734351740660.png

 

Similarly, if you are using save/submit.. pass that step in 'Open an Existing record'.



To check the visibility of related list, use the below step:

SN_Learn_2-1734351800610.png

 

OR, open the related list table and search with the related record sys_id using 'record query' step.

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

@SN_Learn & @Shaqeel  & @Ankur Bawiskar 

Thanks for your reply.

For attachment, like for example I want to validate the related list record '*ANNIE-IBM ' is this possible in ATF?

 

@Khalid9030 

Yes It is very much possible.

You can validate as well as open this related record using steps under list and related list.

 

 

 


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