Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Sep 28, 2018 00:45

Please check out Perfecto IDE articles to Setup Data Tables and Use them in Test Suites for more info before reading through this.


In a Perfecto IDE Test Suite, a Loop can be used for 'Repeat' OR 'DataTable' for a certain variable for iterative and other functions. This is the format of the Test Suite:

<SuiteName>

          Some Script Execution(s) [OPTIONAL]

          Loop (<PARAMETER>)

                    Samsung_Device1_......

                    Samsung_Device2_......

                    IPhone_Device3_.........


In a Test Suite, add a Loop and under that add all the Test Scripts that you want to run within that Loop (screen shot below).


Double Click on Loop and you will notice that under Parameter there is a option to select the Datatable and its Variable name (screen shots below). 

           


Click OK and the File > Save. Now it's using a Loop and Devices defined in the Data Table. Each script in the Loop can use a device OR devices from the Data Table for testing. 




  • No labels