Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Property when page refreshing
#1
Solved: 11 Years, 3 Months, 3 Weeks ago Rolleyes 
Hi,

I am beginner in QTP, and i am trying to automate a web application.

My Scenario is, once i enter few fields one pop up wil come and i have to fill and continue.. i dont have problem upto this.

Where i am getting problem is, once i finish the pop up window, page wil refresh to fetch background datas, at that time one web element wil display in the center of the page until background activities finishes. Even in the mean time of refreshing activities the further webedit box which need to filled also enabled, i dont want to use wait statements bcoz the time for refreshing differs so i cant use constant wait.

Can any one plz help me to sync with the webelement. I am using Descriptive Programming like Driver Script
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi
You can check Page's readyState <> "complete" in a endless loop.
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Put the existence check in For loop.
Kindly revert in case of any clarification.
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,

Thanks for ur help,
could u tell me the difference between the enabled state of a button and ready state of page

Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesn't support this property or method takecharge 1 1,555 11-13-2019, 10:05 PM
Last Post: stormbringer
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,674 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  How to find out the object property in the Description language . njnirmal 9 6,643 05-19-2015, 12:30 AM
Last Post: qtptester66523
  Will Object Property Differ across browsers?? qtplearner88 7 4,027 07-30-2013, 07:18 PM
Last Post: qtplearner88
Exclamation How to validate color of image object in a web page qtplearner88 9 9,215 06-14-2012, 06:34 PM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 1 Guest(s)