Sync method - 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: Sync method (/Thread-Sync-method) |
Sync method - stevol - 09-09-2008 Hi, i have often used the Sync method on Page objects (without problems), ma now i obtain this error: Object doesn't support property or method: 'Sync' The code (previously functioning) is: Code: Dim brow, pag where hwnd(0) and hwnd(1) are the values of hwnd property for the objects Browser and Page. Any idea? i had been obliged to uninstall and re-install QTP (v. 8.2) for other problems... maybe it's possible that during the installation something is broken... howewer with Object Spy I see the Sync method on Browser & Page objects... RE: Sync method - kishoreinchennai - 09-10-2008 ok i tried the following thing : Code: Dim brow, pag it worked for me I suspect something wrong with the hwnd:=" & hwnd(0) hwnd:=" & hwnd check if you could set some value of any object using the pag I feel pag is not becoming a page so it is erroring out Regards Kishore RE: Sync method - stevol - 09-10-2008 thanks for suggestions, howewer i have been obliged to uninstall and reinstall QTP... now fortunately Sync method is recognized... so my previous code functions :-) bye RE: Sync method - stevol - 09-15-2008 I update my previous post for who could have same problems... Sync method didn't function only if i used Quality Center to launch QTP... and the origin of the problem has been the update from SP2 to SP3 (add_in of QTP_8.2 for Quality Center functions only for SP1 and SP2) |