Don't believe I have seen this one before. Make sure you object sync timeout setting (under test settings option) is sufficient. Also make sure your page load times and browser navigation time is sufficiently large.
If you still have a problem, try saving your changes, shut down QTP, hit your computer hard twice on the CPU, restart QTP. That usually does the trick when QTP's hungover. If this fails too, send us a few lines of code before and after the Sync statement, especially the 'With' statements that enclose the Sync.
(I'm hiring Software Development Engineers in Test in Seattle, WA)
My Browser().Page().Sync. is now working in all my QTP Scripts, I get an error saying “Object doesn't support this property or method: 'Browser(...).Page(...).Sync' “. I may replace this command with Wait() , but I want to use Sync property only for my scripts, because in different environments my page loading time is different and the wait time I’m using is not serving the purpose.
I changed the sync timeout setting, but its not working for me.
Do I need to change any settings?
Any help is appreciated.
I recorded a new script and this time it worked. I can not pinpoint the issue. next time I test a web app I will pay closer attention. for the mean while I just removed the sync statements from my script.