Thank you guys for fast reply. I found a walk around in my application , using
index: value for regular $ie.link(:index, 19).click function.
Thanks again and please look into my other issues.
-
Posted via Jive Forums
Andrew wrote:
I am new to Watir and need to select an item in a dropdown box.
This dropdown is a table and located in a body, written in javascript.
I tried regular $ie.select_list( :name , search_clientid).select(qaone),
but it doesn't work.
Please help!
body
script type=text/javascript
Hello,
I am new to Watir and need to select an item in a dropdown box.
This dropdown is a table and located in a body, written in javascript.
I tried regular $ie.select_list( :name , search_clientid).select(qaone),
but it doesn't work.
Please help!
body
script type=text/javascript
Howdy,
Does your select box appear as a Popup?
If my assumption is correct you can use something like this:
@ie.link(:text, link to JS Pop Up).click
ie2 = IE.attach(:title, Title of the Pop Up)
assert(ie2.selectBox(:name, search_clientid).exists?)