Vestris.VMWareLib Error
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012
07:37 PM
06-18-2012
07:37 PM
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
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2012
11:52 PM
06-19-2012
11:52 PM
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. ⬇️⬇️⬇️
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. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2012
03:09 AM
06-20-2012
03:09 AM
Hi Helen,
Thanks very much. It worked perfect.
Regards,
Shubhangi
Thanks very much. It worked perfect.
Regards,
Shubhangi
