Last updated: Sep 17, 2017 12:29
By Matthew Robbins
This Demonstrates the Execute Script Function in Perfecto Mobile IDE Automation
The Execute script function invokes a script located in the Perfecto Lab repository. This functionality allows users to include sub-scripts within a script.
The system will insert the script path automatically when you locate and drag the desired script from the Perfecto Lab repository directly into the script.
The script parameters must be entered in the same order and with the correct types as defined in the original script. The script will not work otherwise.
Calling variables from a Child Script in a Master Script is not supported. You will need to remove the variables from the Child Script and add them to the Master Script. The Child Script will then call the variables from the Master Script.
When using Embedded script execution, the devices used are shared between the parent and child scripts; Whereas, Sync or Async run separate script executions, and the devices are not shared.
In Async script execution, multiple sub-scripts can be invoked and executed simultaneously within a script
Here is a short video on how to use the Execute Script function.