can we loop through multiple records in ATF

Community Alums
Not applicable

Hi,

I have a requirement wherein i have a table with multiple records. One field is 'A' with values 'Critical', 'Low', 'None'. There are multiple records with the above values. Now I want to validate that the records exist with the value 'Low' value in a loop using ATF. Kindly help.

Regards

Suman P.

2 REPLIES 2

Alex Rose
Tera Guru

For this, I would use the 'Run Server Side Script' step.  This will allow you to write a GlideRecord query to look up the records you need, loop through them, and set the step output based on any conditions you'd like with regards to those records.

Shaqeel
Mega Sage

Hi @Community Alums 

 

If I got your requirement correctly,

You can open the table by navigate to module and there you can apply filter or you could use record query.

 

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