Can't figure out how to script this with IE_ClickTag

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
synacor
Newbie
Posts: 11
Joined: Thu Feb 28, 2008 5:06 pm

Can't figure out how to script this with IE_ClickTag

Post by synacor » Wed Oct 22, 2008 5:53 pm

I'm trying to get MS to log into this site. It injects the name and password, but won't submit.

The code generated by WebRecorder (which doesn't work) is :

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={""}
IE_ClickTag>%IE[0]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue,r

The html for this is :

|div class="login_right"| |input type="submit" value="Log In" class="submit" /| |/div|

Suggestions?

Thanks.
________
Galaxie
Last edited by synacor on Tue Feb 01, 2011 8:42 am, edited 4 times in total.

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

Post by Marcus Tettmar » Wed Oct 22, 2008 6:28 pm

Since that input has no name or ID you can either try using the INDEX attribute in the ClickTag, or remove the ClickTag completely and set the submit flag in the preceeding FormFill.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

synacor
Newbie
Posts: 11
Joined: Thu Feb 28, 2008 5:06 pm

Post by synacor » Wed Oct 22, 2008 6:37 pm

I just realized that the html was changed after saving. The html is now correct, with | replacing the 's.
________
weed vaporizers
Last edited by synacor on Tue Feb 01, 2011 8:42 am, edited 1 time in total.

synacor
Newbie
Posts: 11
Joined: Thu Feb 28, 2008 5:06 pm

Post by synacor » Wed Oct 22, 2008 6:45 pm

Using the submit in the form fill seems to work.

Thanks!
________
History of Ferrari history

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