Last updated: Sep 28, 2018 00:20
This article covers how Data tables in Perfecto IDE can be used in Automation Scripts.
One you create Data Tables and add devices to it, you can use them in a Test Suite with the following:
Under Script Variables, for Devices, select Type as DataTable, and specify the location of the Data Table that that you want to use for the scripts in this suite (Screenshots below).
Now Double Click on a script in the Suite and for each Device Parameter of Type 'Handset' and Usage 'datatable', for value select the variable name for the suite ('Devices' here), and value as the column name in the Data Table. PS: Notice lines 2 and 3 in the pop-up window, that two devices used in this script are defined from a Data table.
Click OK and File > Save for this suite and now these scripts are using the Data Table mentioned above for Devices its running the test on.