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

Last updated: Sep 13, 2017 11:21

By Christopher Alton

When working with Execute Script, these steps advise how to split your reports and video from one big report, to the individual child scripts.

Supported Platforms: Native IDE Automation Only

Supported OS: Android, iOS

When working with child scripts, there is a very specific way to create child reports. If this is not done, what ends up happening is that you get one huge report in the parent script.

These steps here are for private cloud users, that can use the SYNC method.

When using the scripts, there is a property in the automation tab named allocate devices automatically. By Default it is turned on automatically. This image shows that this option has turned this option off in this example script.


Allocate Devices Automatically Property

Open automation. Click More. Click to turn off allocate devices automatically.

In order to properly run parent/child scripts, with video split into the child scripts, this property must be turned off in both the child scripts and also in the parent script.

If this is not turned off, what will happen is that the device video will be kept in the parent script only. In this case, if the video is too large due to a multi-hour execution being run, then you will get an error that there is a problem with the video.

These are the settings needed to split video correctly into child scripts.


- Allocate Devices Automatically: OFF in child scripts
- Open Device function: This needs to be in the child script
- Close Device function: This needs to be in the child script
- In the execute script function, set the Script Execution Mode parameter to Sync (Separate)
- allocate Device Automatically: OFF in the Parent script

Execute Script function configured for child script execution

Note: You can also use this with Async mode


This should fix the issue with the video reporting with your parent/child scripts. For more information about the Execute Script function, please see the following link below.

Execute Script Function reference.

If you are trying to run these steps on our public cloud environment, try setting the script execution mode to ASYNC. Some testing will be required until you find the right combination of options for your parent/child scripts.