Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in QTP Running
#1
Not Solved Exclamation 
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--
Reply
#2
Not Solved Wink 
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
Reply
#3
Not Solved
@A.Saini i read that thread but it doesn't help me out

The Problem Still exists
Reply
#4
Not Solved
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
Reply
#5
Not Solved Shy 
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.


Attached Files Image(s)
   
Reply
#6
Not Solved
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP hangs while Running padmabala 9 10,727 08-30-2011, 10:10 AM
Last Post: linhke
  unable to create run result folder error dialog while running the script chanda Hemke 2 5,917 07-05-2011, 08:48 PM
Last Post: rajpes
  Run Time Error message appears, on running a recorded test Imran Tahir 1 3,257 04-20-2011, 03:23 PM
Last Post: Jay
  Run error on properly running script AAB 4 4,251 03-22-2011, 11:45 PM
Last Post: Suba
  Error message while running the qtp scripts. SonalBalte 1 3,802 11-25-2010, 07:30 PM
Last Post: mvuyy001

Forum Jump:


Users browsing this thread: 4 Guest(s)