IEClickTag Hanging

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
OrangeAndBlue
Newbie
Posts: 18
Joined: Thu Feb 06, 2014 5:19 pm

IEClickTag Hanging

Post by OrangeAndBlue » Mon Aug 25, 2014 5:39 pm

Hi there,

I've searched the forum on this function for relevant threads, but didn't find an answer to my problem.

I've made this as simple as possible, and stripped my script to be a simple two lines of of debugging. There is a webpage, with concerned HTML:

Code: Select all

<input name="providers" id="chk305" onclick="checkall();" type="checkbox" value="274021">
There are many "providers" elements, but the id, and value, are unique to this INPUT element.

I grab the IE instance correctly by:

Code: Select all

IEGetFromUrl>%URL%,IE_INSTANCE
I verified I have the handle correctly by executing

Code: Select all

IEExtractTagByAttr>IE_INSTANCE,,,INPUT,ID,chk305,1,r
...r= the exact HTML I provided above. So I know the element is referenced properly.

Then I perform:

Code: Select all

IEClickTag>IE_INSTANCE,,,INPUT,ID,chk305,r
... And MS hangs on the instruction, never returning. I've tried hitting this checkbox the same way WebRecorder references it:

Code: Select all

IEClickTag>IE_INSTANCE,,,INPUT,CHECKBOX,providers:274021,r
... but still get the hang on command problem.

Any ideas what is going on? Thank you!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: IEClickTag Hanging

Post by Marcus Tettmar » Mon Aug 25, 2014 9:22 pm

I can't try it because I don't have the URL or access to it. But the checkbox references a Javascript function called checkall() which is called when the checkbox is clicked. So my guess (and guess is all I can do here) is that it has something to do with what that is doing.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts