06-19-2007, 10:39 PM
I've got a macro that's opening an instance of Internet Explorer. It does a get of an https url with login variables in the URL (get vars). It then goes to another URL once the window returns "not busy". It then searches for URLs, sets focus and shift-tabs back to hit space to select a check-box to the left of each URL I'm looking for. This all works great.
What it fails to do is find and click the submit button.
The part that finds the URLs by their text and hits the check-box immediately before them...
The URLs look like this:
As said, that's working fine. Nothing fancy on the htm(). It just works.
The part that's not working is:
The button's format in the source is:
Yes, I'm aware "checked" is not a proper item for type="submit". It's not my page, I'm just trying to automate a download process we have to do every morning. Either way, it's returning this error in QM 2.1.8:
So, I'm a bit confused. It finds all the items for fileArr okay, but can't find the item for dButton? Any hints what I'm doing wrong?
-Todd Hartman
What it fails to do is find and click the submit button.
The part that finds the URLs by their text and hits the check-box immediately before them...
for i 0 13
fname.from(procDate "." extArr[i]);
fileArr[i] = htm("A" fname);
fileArr[i].SetFocus;
key ST V;
The URLs look like this:
<A HREF="/PATH/OBSCURED?operation=DOWNLOAD&mailbox_id=OBSCURED&batch_num=1234567&data_format=A&batch_id=061807.PPES"
>
As said, that's working fine. Nothing fancy on the htm(). It just works.
The part that's not working is:
The button's format in the source is:
Yes, I'm aware "checked" is not a proper item for type="submit". It's not my page, I'm just trying to automate a download process we have to do every morning. Either way, it's returning this error in QM 2.1.8:
So, I'm a bit confused. It finds all the items for fileArr okay, but can't find the item for dButton? Any hints what I'm doing wrong?
-Todd Hartman