Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Recording
#1
Not Solved
Hi all

I have created a script as click a Booking link, then in the Booking link click confirm button. While I am running the script, QTP do oly to click a Booking link. Cant able to click confirm button in the Booking application.. the result says as Page loding failed, cant identify the object for confirm button.. can any one help me to slove this problem. Thanks in advance.

Regards,
Preetha.
Reply
#2
Not Solved
Hi,
You should wait (ofcourse in code), after clicking the booking link untill the next screen/page is completely loaded.
Reply
#3
Not Solved
Add wait property in the code as :
wait(2)
The seconds depends the time taken by your application to load the page
Reply
#4
Not Solved
Hi

I did using wait(), for first time if i run my script its working.... If i run again it fails to run giving the same error....

Regards,
Preetha.
Reply
#5
Not Solved
You can check the load time and according to that you add the seconds in the wait function

It will work .....


Or else you can use
Browser("xyz").Page("xyz").Sync

it will work
Reply
#6
Not Solved
Would you mind posting the code you have tried ?

If you are using dictionary to create objects then you may need to use Object.RefreshObject to re-initalize it.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP Recording Rakesh Sahukari 0 1,707 11-03-2013, 01:10 PM
Last Post: Rakesh Sahukari
  QTP 11.5 recording issue anupam4j 0 1,681 02-05-2013, 05:20 PM
Last Post: anupam4j
  qtp not recording all the steps kp_usa 1 2,542 12-21-2012, 02:46 PM
Last Post: vinod123
  QTP is not recording script pkdhake 4 3,487 12-07-2012, 10:26 PM
Last Post: geetha_QTP
  QTP recording problems Masa 2 2,443 11-11-2012, 08:28 AM
Last Post: Masa

Forum Jump:


Users browsing this thread: 1 Guest(s)