Is there an MS command that checks to see if an IE HTML Element exists before running the following command:
IETagEventByAttrib>%curlink%,INPUT,value=Get Rates,click,
the command clicks as it should, but the button sometimes takes 3-5 seconds to appear after the dropdown box above it is set to the appropriate selection.
So I'd like to run a loop that says
label>submitCheckLoop
ifIEelementexists,value=Get Rates,>
IETagEventByAttrib>%curlink%,INPUT,value=Get Rates,click,
else
wait>2.5
goto>submitCheckLoop
endif
If IE HTML Element Exists
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: If IE HTML Element Exists
You could use IEGetTagsByAttrib to get the containing tag and then a Position string search or RegEx to see if the element is in there.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?