Validate Page Loading - 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: Validate Page Loading (/Thread-Validate-Page-Loading) |
Validate Page Loading - mahadevan.swamy1 - 12-21-2010 Hi, I have to validate if a page is loading correctly or not. How do I validate this? Thanks Swamy RE: Validate Page Loading - supputuri - 12-22-2010 Hi Swamy, Please check for the status in the "WinStatusBar". If any errors while loading the page you the status will be "Error" else the status will be "Done". RE: Validate Page Loading - manishbhalshankar - 12-22-2010 Hi Swamy, You can use Page CheckPoint to check the links, image source and broken links. RE: Validate Page Loading - mahadevan.swamy1 - 01-18-2011 What property do I use to check the status of the page? RE: Validate Page Loading - mahadevan.swamy1 - 01-18-2011 Is Status bar of IE reliable? Does it verify if the page loads correctly? RE: Validate Page Loading - supputuri - 01-18-2011 HI Swamy, That should be the Ideal case and it should be reliable. You can use "regexpwndtitle" property and to check the page status. I have used the same methodology in one of my script and it has been working properly. Please let me know if you need any more informatin. RE: Validate Page Loading - mahadevan.swamy - 01-22-2011 I noticed that if my cursor is positioned at point and if a link shows up at that point during the test, the status bar retrieves the address of that link instead of "Done" or "Error" message. This doesn't exactly validate if the page has loaded properly or not. What will the status bar say if I get a common browser error like "401 Unauthorized" or "403 Forbidden"? Yes, I would like to learn more about regexpwndtitle. Please give me some few links where I can do a reading or you could give me a short description of it and how I can use it. Thanks Swamy |