We have added the BOM list button onto our flavor in IW32. When clicking this button, there is a pop-up window that appears with the title 'Restrict Value Range'.
The next step is to click the 'X' button to close that screen.
The issue is we want the script to automate clicking this button, but it always shows a 'control not found' error. It's odd because the script detects the modal popup, it reads the title of the pop, and I can select the 'X' button with the element selector. But when it comes to pressing that button with the script, it doesn't seem to work. I've tried putting this script on the 'onLoad' event and also the 'onAfterRefresh' event, thinking maybe the control wasn't ready yet, but so far no luck.
Any suggestions? Please see the attached screenshots.
Forgot to add, currently version 3.09
753_REL Patch 501