#{selenium 'Check #select tag'} open('@{Application.selectTag()}') assertElementPresent('css=#select1 option') assertTextPresent('One king-size bed') assertElementPresent('css=#select1 option[value="3"]') #{/selenium} #{selenium 'Check #select tag with iterable based content'} open('@{Application.selectTag()}') assertElementPresent('css=#select2 option') assertText('css=#select2 option[value="User-9"]', 'User-9') assertElementPresent('css=#select2 option[value="User-5"][selected]') #{/selenium} #{selenium 'Check #select tag with plain content'} open('@{Application.selectTag()}') assertElementPresent('css=#select3 option') assertText('css=#select3 option[value="19"]', '19') assertElementPresent('css=#select3 option[value="5"][selected]') #{/selenium} #{selenium 'Check #select tag comparing selected values using toString()'} open('@{Application.selectTag()}') assertElementPresent('css=#select_long_value_long_sel option[value="5"][selected]') assertElementPresent('css=#select_long_value_int_sel option[value="5"][selected]') assertElementPresent('css=#select_int_value_long_sel option[value="5"][selected]') assertElementPresent('css=#select_int_value_int_sel option[value="5"][selected]') #{/selenium}