Jump to content

FF fails to select the drop down when in the Value Mode.


tommytx
 Share

Recommended Posts

The botttom shows the select html that is being processed at the URL listed.

The first part cycles thru just fine using the "text" method but when I try to get the value mode to work it fails...

First one should select by text.. and second one by value. Can anyone see what I have done wrong?

#Include <FF.au3>
_FFStart("http://mydomain.com/idxtest/short-form.htm")
Sleep(1000)


; Works Great
Sleep(1000)
_FFFormOptionSelect("grundlage","name","Schinken","text")
Sleep(1000)
_FFFormOptionSelect("grundlage","name","Margeritha","text")
Sleep(1000)
_FFFormOptionSelect("grundlage","name","Salami","text")


; FAILS FAILS
Sleep(1000)
_FFFormOptionSelect("grundlage","name","Schinken","value")
Sleep(1000)
_FFFormOptionSelect("grundlage","name","Margeritha","value")
Sleep(1000)
_FFFormOptionSelect("grundlage","name","Salami","value")
<select name="grundlage" size="1">
 <option value="Margeritha">Margeritha</option>
 <option value="Schinken">Schinken</option>
 <option value="Salami" selected="selected">Salami</option>
</select>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...