shubhangi
13 years agoContributor
Vestris.VMWareLib Error
Master has
TestComplete (8.7) on Win7(64 bit). CLR Bridge has the Vestris.VMWareLib.dll added
Vmware Workstation 7.1.4
I am trying to power on the virtual machines running on the master using.
function tt()
{
var vmHost = dotNET.Vestris_VMWareLib.VMWareVirtualHost.zctor();
vmHost.ConnectToVMWareWorkstation();
vmHost.ConnectToVMWareWorkstation()
var vmMachine = vmHost.Open("C:\\Users\\ss001\\Documents\\Virtual Machines\\ATVMWINXP3X32\\ATVMWINXP3X32.vmx");
vmMachine.PowerOn(5000)
}
This function fails with attached errors.
I tried to run the VB script code mentioned on the smartbear site, which worked fine. But I want it to be in Jscript.
Any help would be greatly appreciated.
Thanks
Shubhangi
TestComplete (8.7) on Win7(64 bit). CLR Bridge has the Vestris.VMWareLib.dll added
Vmware Workstation 7.1.4
I am trying to power on the virtual machines running on the master using.
function tt()
{
var vmHost = dotNET.Vestris_VMWareLib.VMWareVirtualHost.zctor();
vmHost.ConnectToVMWareWorkstation();
vmHost.ConnectToVMWareWorkstation()
var vmMachine = vmHost.Open("C:\\Users\\ss001\\Documents\\Virtual Machines\\ATVMWINXP3X32\\ATVMWINXP3X32.vmx");
vmMachine.PowerOn(5000)
}
This function fails with attached errors.
I tried to run the VB script code mentioned on the smartbear site, which worked fine. But I want it to be in Jscript.
Any help would be greatly appreciated.
Thanks
Shubhangi