Micro Focus QTP (UFT) Forums
Error in executing script in QuickTest Pro 10 on VMware Vitual Machine - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Error in executing script in QuickTest Pro 10 on VMware Vitual Machine (/Thread-Error-in-executing-script-in-QuickTest-Pro-10-on-VMware-Vitual-Machine)



Error in executing script in QuickTest Pro 10 on VMware Vitual Machine - lobmails - 08-14-2010

I have installed the QTP 10.0 on a Virtual Machine (VMware) & while accessing the VM through RDC, I tried to run a basic line of code through QTP i.e.

MsgBox "ABC"

However, when I try to execute the script on the VM, it fails at the very first line saying that:

"The test run cannot continue due to an irrecoverable error"

Failed to run script. *Description: Invalid Syntax*

Line(1): "RunAction "Action1", oneiteration".

QTP Run Image Link : http://i38.tinypic.com/2wm2is2.jpg
Result Screen : http://i36.tinypic.com/ajsepj.jpg

I have tried this installation on 4 different VM machines & failed to resolve it.

I think there is some issue with the VMware or may be the debugger is not supported (I have installed all the Windows updates, available at MS site..still no luck Sad )

VMWare Clone Settings:
http://i36.tinypic.com/4j45mr.jpg

I am using Windows 2003 R2 Enterprise Edition SP2 with MS SQL 2005 installed on the VMs.

For VMware Description:
http://i33.tinypic.com/hx55ih.jpg

My QTP Installation includes:

Default Add-ins

Siebel Addin

Java Addin

.Net Addin


Kindly help me out to solve this issue & suggest if it is the problem of VM Settings or anything else??

Can anyone provide the solution to this?


RE: Error in executing script in QuickTest Pro 10 on VMware Vitual Machine - donbonin - 08-19-2010

Please try to establish a CONSOLE connection to the VM, it's just like an interactive session and it's where QTP should be run. That solved our problems.