Hi all,

In a slightly different twist to Emad's select_list issue yesterday; I
have another select_list query.

The site I'm testing has a page that spawns a new data window when a
specified select_list value is chosen.  To date, I've never been able
to automate this, and I've been having this as a manual step for ages
until I can figure it out.  Example HTML for the select_list in
question is as such:

<select name="cboFoo" class="txtboxwidth left" id="cboFoo"
onchange="javascript:setTimeout('__doPostBack(\'cboFoo\',\'\')', 0)"
jQueryXXXXXXXXXXXXXXXXXXXX="7">

Considering a click_no_wait works well enough elsewhere in our site
for javascript confirmations and suchlike, I hoped the following would
work for a select_list; but it doesn't.  The new data window never
appears:

browser.select_list(:id, "cboFoo").select_no_wait("Bar")

I welcome any suggestions, as this is currently the only area of our
site I can't automate.

Thanks,


GJHmf

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to