popup menu exception
I have a problem with a popup menu. It's very strange because sometimes it works and some other not. I just need to click on a button, popup appears , select an item on popup menu
this is the code
Set w4 = w3.tbReceivers.Window("msvb_lib_toolbar")
Call w4.PopupMenu.Click("Establish Agreement")
In log file, the reported error is "cannot obtain the popup menu"
An exception occurred in the "Unit1" unit at line 751: Microsoft VBScript runtime error. Object required:'w4.PopupMenu'
Re: popup menu exception
Please follow the instructions below:
1. Call the Delay method after performing the mouse click which makes the problematic object appear and before the object is retrieved. If this suggestion does not help, please follow step 2.
2. Increase the value of the "Delay between events" option described in the "Project Properties - Playback Options" help topic. If this suggestion does not help, please follow step 3.
3. Zip your entire project suite folder along with the log of the failed test execution and send us the archive via our Contact Support form (http://www.automatedqa.com/support/message.asp). Make sure that messages in your log correspond to valid code lines in the latest version of your scripts.