The Empirix knowlegde base gives VBA code to handle popup windows in scripts and scriptlets but recommends that the popup window close be recorded as the optimal solution. I've tried to record this yet when I execute the recorded script it hangs on closing the popup window. Any ideas as to what I may be doing incorrectly? Thanks in advance. We'd like to use the record method ideally without manually inserting the VBA but... will do what's necessary
e-Tester by default matches the page titles on all pages including pop-up windows. Dynamic pop-ups will not close as e-Tester will try to match the title. Setting PageMatchCheck=false will allow the pop-up window to close automatically on playback if the close of the window was recorded in the script.
Use Ctrl-F11 to get into the Advanced settings window. Expand the Script's tree, and then the webanalyst folder. Look for the PageMatchCheck variable and change it's value. You can drag it up to the Global Settings folder as well.
Alternatively, you can manually enter it into the %windir%\rsw.ini folder in the [webanlst] section.