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" src="/js/include.js" ></script>
<script type="text/javascript" src="/js/admin.js"></script>
<table class="table_box" cellpadding="0" cellspacing="0" width="200">
<tr class="bar">
<td nowrap>CLIENTS <a href="/it/crm/clients.cfm">-all</a></td>
<td align="right"><a
href="/it/crm/modules/add_mod_modules.cfm?action=remove&module=sm_quick_add_project"><img
src="/images/delete.gif" border="0"></a></td>
</tr>
<tr>
<td colspan="2">
<select style="width:200px" name="search_clientid"
onChange="document.location=this.options[this.selectedIndex].value;">
<option value="0">choose client
<option
value="client_setup_view.cfm?clientid=117">aavacations</option>
<option
value="client_setup_view.cfm?clientid=1">advertiser</option>
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6222&messageID=17504#17504
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general