Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help needed to replay the test
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi All,

I need some guidance regarding a Test.
I have recorded a simple login Test using QTP 11.


QTP 11 essential trial version
OS : Windows 7 32 bit

Just entering the Agent Name and Password .Below is
expert view steps .


Code:
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Dialog("Login").WinEdit("Agent Name:").Type  micTab
Dialog("Login").WinEdit("Password:").SetSecure "505ce4e625a67b04458865b58492ae11969224c0"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close
When I replay I got following error.

Run Error :

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

Line (1):
Code:
"Dialog("Login").WinEdit("Agent Name:").Set "mercury"".


Tip: If the objects in your application have changed, the Maintenance Run Mode can help you identify and update your steps and/or the objects in your repository.


Any one has seen this error before if so please guide regarding solving this.

Thanks
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi All,

Please can anybody reply to my problem
My trial version will be expiring soon before
that I need to understant the working of QTP.

Its a basic test replay problem.
Its giving a runtime error at Agent Name.

Thanks
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Make sure you have the objects added in OR.

Also make sure that the login page is open when you are running the test.
Reply
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
U should close the login dialog before your test.
QTP can not recognize the duplicated objects.
Reply
#5
Solved: 11 Years, 4 Months, 3 Weeks ago
Thanks alot Ankesh and Jesonvan,

Now I am able to run the test.
Thanks for your reply.

Regards
Asma Talib
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Replay Start Error Bhuvana 0 922 01-07-2020, 08:05 PM
Last Post: Bhuvana
  Help needed in automating a Java window adityasrinivasb 2 3,534 07-05-2013, 02:00 PM
Last Post: Staff
  QTP Replay Error qtplearner82 4 9,521 06-07-2013, 07:36 PM
Last Post: doug13
  Help needed on understanding the Properties and Methods related to a ActiveX control. DhivaM 2 3,989 05-21-2012, 07:48 PM
Last Post: DhivaM
  QTP 10 download link needed gowtham464 0 6,295 05-06-2012, 01:28 PM
Last Post: gowtham464

Forum Jump:


Users browsing this thread: 1 Guest(s)