how to recognize html field value

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
mfauzim
Pro Scripter
Posts: 89
Joined: Wed Sep 13, 2006 10:57 am

how to recognize html field value

Post by mfauzim » Tue Oct 10, 2006 2:08 am

i have a html code as below:

// step 2 . select action required
Let>FrameName={""}
Let>FormName={"manactv"}
Let>FieldName={"cmbCommandId"}

//Let>FieldValue={"Display Tel. Status"}
Let>FieldValue={"Reconnect All"}

LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0

my question is:
how do I find out whether the file value in the web page control exist or not. The expected field value is "reconnect all" or "reconnect"
if reconnect all exist then I want to set field value to Reconnect All or otherwise

regards

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

Post by Marcus Tettmar » Tue Oct 10, 2006 7:21 am

Have you tried using the ContainsText function?
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