Ask a Question

Vestris.VMWareLib Error

shubhangi
Contributor

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


2 REPLIES 2
HKosova
SmartBear Alumni (Retired)

Hi Shubhangi,



Try changing the Preferred architecture of the assembly hosting process option in the CLR Bridge settings to 32-bit.



If this doesn't help, please post here screenshots of the CLR Bridge settings in your VBScript and JScript projects.

Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
shubhangi
Contributor

Hi Helen,



Thanks very much. It worked perfect.



Regards,

Shubhangi
cancel
Showing results for 
Search instead for 
Did you mean: