Micro Focus QTP (UFT) Forums
Error in QTP Running - 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 QTP Running (/Thread-Error-in-QTP-Running)



Error in QTP Running - shubheksh - 10-27-2010

i have installed QTP recently in my laptop...
But when i do a normal recording giving username & password to the flight application & run that in QTP
it gives an error----
______________________________________________
The test run cannot continue due to an unrecoverable error.

Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

______________________________________________
The VBScript is

Code:
Dialog("Login").WinEdit("Agent Name:").Set "sdcsd"
Dialog("Login").WinEdit("Password:").SetSecure "4cc59a43f5e7291fde2477a9fee42c8bb29016fb"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").WinMenu("Menu").Select "File;Exit"

Can U help me out plss to resolve this error--



RE: Error in QTP Running - A.Saini - 10-27-2010

Hi Shubheksh,

Please read the given thread. It is also dealing with the same problem.

https://www.learnqtp.com/forums/Thread-QTP-run-error

Smile


RE: Error in QTP Running - shubheksh - 10-27-2010

@A.Saini i read that thread but it doesn't help me out

The Problem Still exists


RE: Error in QTP Running - nandu - 11-19-2010

Hi..

Go to Object Repository in u r Script..

identify & Select "AgentName" field.. then you can see all properties of "Agent Name"..
then you add some more properties to "AgentName" to identify it by QTP

plz let me know if u go wrong..

Thx


RE: Error in QTP Running - sabaresh_sarva2000@yahoo.com - 05-08-2012

Hi All,
I have got the same run time error while trying to execute a simple code in QTP 10.0. The OS version is Win 7 - Ultimate version with 32 bit OS. I reinstalled the software several times by uninstalling and deleting the registry values. Still I'm not able to execute any of the simple codes. I'm amused that the solution for this particular problem is not posted in any of the forums and this forums seems to be the best place to get it. Kindly help out to solve this issue at the earliest. I have also attached the error message screen shot.


RE: Error in QTP Running - sshukla12 - 05-08-2012

Hi,

Instead of going for Window program manager to launch the application use system.util to run the application. Give it a try and let me know if its work 4 u or not.

Regards,
Sankalp