Web recorder :Getting Error while passing parameter

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
ashuer
Newbie
Posts: 11
Joined: Wed Jun 13, 2012 2:51 pm

Web recorder :Getting Error while passing parameter

Post by ashuer » Wed Jun 13, 2012 2:54 pm

Getting Error while passing parameter to the input box.


IE_Create>0,IE[1]

IE_Navigate>%IE[1]%,http://www.qsl.net/w4sat/feetconv.htm,ie_res

IE_WaitDocumentComplete>%IE[1]%,ie_res

IE_ClickTag>%IE[1]%,{""},{"ACTION:"},{"INPUT"},{"INDEX"},{"0"},ie_res
Let>var=14

Messagemodel>var
IE_FormFill>%IE[3]%,{""},{""},{"Number"},{%var%},0,ie_res
IE_ClickTag>%IE[3]%,{""},{"ACTION:"},{"INPUT"},{"INDEX"},{"1"},ie_res

IE_Quit>%IE[2]%,ie_res

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

Post by Marcus Tettmar » Thu Jun 14, 2012 2:24 pm

As var is numeric, we need to force it to send as a string. Please try:

IE_FormFill>%IE[3]%,{""},{""},{"Number"},str:var,0,ie_res
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

ashuer
Newbie
Posts: 11
Joined: Wed Jun 13, 2012 2:51 pm

Post by ashuer » Fri Jun 15, 2012 7:25 am

Thanks it works

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