Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waiting for screeen to load-non web based
#1
Not Solved
How would you handle the wait if the object is not within a browser but in a different applicaton?

I want to wait until the window for an application becomes availible so that QTP does not start clicking into random areas without an object there. I used a conditional and no waits, this seemed to work but i was trying to figure out different ways because this meathod seems weak and could break easily.

Thanks
Reply
#2
Not Solved
Best way to do this task according to me is , use Exist() method

Code:
If window("xyz").Exist Then
'code here
End if

but this will take object sync time defined in the settings
You can overwrite this value accordingly.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Load testing in QTP newqtp 4 6,981 01-24-2019, 11:32 AM
Last Post: sonali31
  Reporter unable to load results when objects are involved? Elimelech.Eli 2 3,457 06-01-2014, 01:37 PM
Last Post: Elimelech.Eli
  Load Time shayk1985 1 2,811 07-03-2013, 11:30 PM
Last Post: Ankur
  .Sync is NOT waiting for browser to complete current navigation.. can anyone help? mansis 4 4,292 09-14-2012, 06:53 PM
Last Post: mansis
  Confirm page Load? jcraig26 0 2,094 09-14-2012, 12:44 AM
Last Post: jcraig26

Forum Jump:


Users browsing this thread: 1 Guest(s)