User input and script issue with a web button

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
rlcohen70
Newbie
Posts: 4
Joined: Wed Dec 13, 2006 5:23 am
Location: San Jose, CA.

User input and script issue with a web button

Post by rlcohen70 » Sun Jun 17, 2007 8:36 pm

I used Webrecorder to capture a process that I want to automate.

I need to ask the user to enter a number that will be populated in a few areas through the script. I will search on how to get user input and then set it as a variable but I have listed my code below.

My real problem right now is in the process it works to the point of the code below. I clicked on an enable button, yet, it does not work here and I am lost on how to do this..

This is where I need the user to enter a number that will be populated in other areas. this will be overwritten each time the user enters a new number.. I need the user to enter the field value and populate that through the macro until it loops back and runs the macro again for another new number.

Code: Select all

### Enter Franchisee Number for Search ###
Let>FrameName={""}
Let>FormName={"mainform"}
Let>FieldName={"query.clauses[clause1].conditions[condition1].value"}
Let>FieldValue={"d80313"}
LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0
This where where i need to hit the Enable button int he webpage, here is what the code captured, but when I run it, it does not continue at this point..

Code: Select all

### Phase II - Click on Enable ###
Let>FrameName={""}
Let>FormName={"mainform"}
Let>TagValue={""}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue
All help is appreciated...

Rod
When All Alse Fails...
Manipulate The Data......

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