han
15 years agoContributor
Help with distributed test on vmware
I'm having two problems with testcomplete and vmware:
1. How can testcomplete know when the vmware image is up so that I can take away the ugly delay?
2. How can I extend the "timeout" for Task completion? The problem now is that vmware is shutting down the image while the task is completing so that I get a run time error.
---code---
Set app = TestedApps.vmrun
app.Params.SimpleParams.CommandLineParameters = "-T ws start ""<vmware image>"""
Set p = app.Run
Delay(300000) 'What to take away this
NetworkSuite.Jobs.ItemByName("Slave").Tasks.ItemByName("Clean").Run(True) 'Think I need to have some wait in this task to let vmware take down the image