- 4 Posts
- 550 Views
Can any provide me with a PTF example script of looping through a set of test data and validating data on a page? The data could be loaded from a PS query or file. It would include EMPLID, and data that I want to validate. I want to loop through many rows and don't want to repeat writing the same script.
An example or any suggestion would be appreciated.
@Paul Chin-Lai Hi Paul, the DataLoader/PSQuery example in PeopleBooks PeopleTools 8.57 PTF has a good example. By getting the &rowcount as one of your parameters, you can use it to loop through your result set. Within the loop, you can put your code. This works as I have used it. I haven't done one by reading from a file.