how to select a value in combo boxes with geb groovy -


I tried to select a value outside the combo box through groovy (geb). The HTML code is:

  & lt; Id = "entity-list-form: status search button" name = "entity-list-form: status search button" size = "1" style = "width: 200px;" & gt; & Lt; Option value = "" & gt; LAL & lt; / Options & gt; & Lt; Option value = "registered" selected = "selected" & gt; Wartet auf Bestätigung & lt; / Option & gt; & Lt; Option value = "Rejected" & gt; Registered Zur ¼qquininen & lt; / Options & gt; & Lt; Option value = "Approved" & gt; Regarding angle & lt; / Options & gt; & Lt; Option value = "UNSUBSCRIBED" & gt; Abgemeldet & lt; / Options & gt; & Lt; / Select & gt;   

I have tried to use these elements through

  $ ("entity-list-form"). StatusSearchBtn = "alle"   

or

  $ ("entity-list-form"). StatusSearchBtn.value () == "All"   

Select a different view

  statusSearchBtn {$ [name $ = "entity-list-form : Position SearchBtn "]")}    p> and also with the name as well as the list of entity lists. In this list I searched for the status of  
  statusSearchBtn = "alle"   

or

 . SearchBtn.value () == "Alle"   

There is a final end without any error, but the selected value is not converted to "ALLE".

Previously not finished

I highly recommend any advice,

I think:

    , name: "entity-list -print: position search button ").

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -