I work with the Selenium IDE and on my webapp I have a choice of type:
<option value="34">Badge</option>
<option value="38">Bodywork</option>
<option value="1">Category 1</option>
<option value="36">Window</option>
I need to wait until the option is populated when selected using the name / text parameter (for example: โIconโ) instead of the / id value (for example, โ34โ) before continuing.
My idea is to use a function waitForElementPresent, but for the test I used assertElementPresentwhen the parameters were already filled.
I tried this:
assertElementPresent
css=select[id='cbo_Subcategory'] option[name='Badge']
and this one
(...) option[text='Badge']
(...) option[label='Badge']
(...) option[name=Badge]
(...) option[text=Badge]
(...) option[label=Badge]
but it didnโt work. Any ideas?
source
share