Skip to Content
0
Aug 31, 2020 at 09:17 PM

IW32 BOM List Button Pop-up - Control Not Found

93 Views Last edit Aug 31, 2020 at 09:26 PM 3 rev

Greetings,

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

Attachments

script.png (18.0 kB)
error.png (31.2 kB)
window.png (12.9 kB)