VERSION BUILD=10101485
FF Version 109.0 (64-bit)
Windows 10
I know what the issue is, Its just fixing it or getting a work around. There's 2 dropdowns on a webpage, one dropdown can be populated no issue with Imacros, but the other doesnt. The second dropdown populates I assume via JS based on the selection of the first dropdowns entry, Other wise if the first one is empty, the second one has one [emtpy] string entry.
Code: Select all
'Populate first dropdown no issue
TAG POS=1 TYPE=SELECT FORM=ID:incident.do ATTR=ID:incident.u_closure_category CONTENT=%Admin
'Tried to populate this with a string, ended up just using numbers
TAG POS=1 TYPE=SELECT FORM=ID:incident.do ATTR=ID:incident.u_closure_subcategory CONTENT=2
Error:
RuntimeError: Entry with index 2 not available [Box has 1 entries], line: 19
The above error makes sense as at the time the page loads, there is no populated dropdown untill the script is ran and it populates the first one, when the script populates though my script isnt smart enough to 'refresh' or understand that there is now data in there to be selected,
Any ideas?
Thanks,
Tom