Waiting for screeen to load-non web based - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Waiting for screeen to load-non web based (/Thread-Waiting-for-screeen-to-load-non-web-based) |
Waiting for screeen to load-non web based - mheck - 06-08-2011 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 RE: Waiting for screeen to load-non web based - rajpes - 07-05-2011 Best way to do this task according to me is , use Exist() method Code: If window("xyz").Exist Then but this will take object sync time defined in the settings You can overwrite this value accordingly. |