Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How can I synchronize my scripts so that they execute sequentially?

How can I synchronize my scripts so that they execute sequentially?

It is possible to synchronize script execution so that, for example once ScriptA.bdf completes execution ScriptB.bdf will start etc. You will need to create a batch file to do this as shown below. As batch files execute Silk Performer Workloads within projects it is necessary to configure a Workload for each script. This means for example, the workload called WLScript1 will contain just one script called ScriptA.bdf, whereas the workload WLScript2 will contain the script ScriptB.bdf. As each workload completes the batch file will then execute the next workload in the list.
cd "C:\Program Files\Silk\Silk Performer 7.3\" performer C:\Program Files\Segue\Silk Performer 7.3\Working\Projects\Gmo\Gmo.ltp /Automation 5 /WL:WLScript1 /StartMonitor performer C:\Program Files\Segue\Silk Performer 7.3\Working\Projects\Gmo\Gmo.ltp /Automation 5 /WL:WLScript2 /StartMonitor performer C:\Program Files\Segue\Silk Performer 7.3\Working\Projects\Gmo\Gmo.ltp /Automation 5 /WL:WLScript3 /StartMonitor 

For more information on running Silk Performer from the command line see the Silk Performer Help.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:41
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.