![]() |
How to use sync function - 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: How to use sync function (/Thread-How-to-use-sync-function) |
How to use sync function - 22sumit - 06-03-2015 I am on a webpage where clicking on a link opens a new webpage in another tab of the browser. However opening this new tab may take more time, so I want to sync it to load the page completely and then perform any action. For obvious reasons the Browser and Page title will change. so which page should I sync to attain the desired results. Eg: Code: Set bp1=Browser("title:=XX").Page("title:=XX") Will bp1.sync work or I'll hv to use bp2.sync? This concept is confusing me, any help will be appreciated. RE: How to use sync function - babu123 - 06-03-2015 BP2.sync will work. RE: How to use sync function - 22sumit - 06-16-2015 Thanks for responding. I'll try. |