Micro Focus QTP (UFT) Forums
Cross Browser Sync 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: Cross Browser Sync Not Working (/Thread-Cross-Browser-Sync-Not-Working)



Cross Browser Sync Not Working - geodude - 04-07-2017

Hi,

I've run into a problem where I've recorded a test in Chrome where it works perfectly fine. After changing the run settings to different browsers, I've noticed that IE is also working perfectly fine but when I try running the script in Firefox, my script is completely bypassing any of my Browser(...).Page(...).Sync commands.

.Sync has been working for both Chrome and IE but for some reason in Firefox its saying the lines with .Sync are passed even though the page is clearly still loading. As a last resort I may just change all of my .Sync lines to WaitProperty but does anyone have any insight as why this might be happening? Does Firefox need a different method of synchronization? I've tried rerecording some of my actions in Firefox but .Sync still doesn't work and I've tried replacing Browser(...).Page(...).Sync with Browser(...).Sync. For example:

Browser(...).Page.(...).WebButton("signin").Click
Browser(...).Page.(...).Sync
Broswer(...).Page.(...).WebElement(...).Click

Will fail because Browser(...).Page.(...).Sync is instantly executed and the next command will fail. I've check my settings->run and the timeout is default
I've running UFT V14.0 and Firefox V51.0

Any help would be appreciated, thanks!