Micro Focus QTP (UFT) Forums
QTP Sync to browser not working - 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: QTP Sync to browser not working (/Thread-QTP-Sync-to-browser-not-working)



QTP Sync to browser not working - Kartal - 02-16-2011

I have several QTP scripts which no longer sync to my web browser (IE).

I believe there are no problems with the scripts as I have asked a colleague to try my scripts on his computer using IE (which is the same version as mine) and the scripts work fine.

I have checked my IE settings and made them exactly the same as his but the script still fails to sync on my PC.

Does anyone have any ideas to what my problem may be or anything I should check ? I do not know what has changed since last week when I ran them successfully.


RE: QTP Sync to browser not working - jsknight1969 - 02-16-2011

did you verify the BHOmanager Class Add-on is enabled in IE?


RE: QTP Sync to browser not working - Kartal - 02-17-2011

I just checked the add on and it is enabled.


RE: QTP Sync to browser not working - Kartal - 02-17-2011

The sync function I am using below and has served me well but this problem is causing me much stress.

Code:
Public Function SynchroniseBrowser(Browser)
    Reporter.Filter = rfDisableAll
    On Error Resume next
     While Browser.Object.Document.readyState <>"complete"
     Wend
     On Error Goto 0
     Reporter.Filter = rfEnableAll
End Function

The normal sync does not work either
Browser("Google").Sync