I am new to FireWatir and have some issues changing my choices in the selection list. Here's what the HTML looks like:
<div id="softwarelist">
<select name="TDSOFTWARE" style='width:191;'>
<option value="QFX">Quicken 2004 or newer-Windows
<option value="QIF">Quicken 2003 or older-Windows
<option value="OFX">Microsoft Money 98 or newer
<option value="QIF">Microsoft Money 97 or older
<option value="CSV">Microsoft Excel
</select>
</div>
I need to change the selection to CSV.
Here is the line in my script where I am stuck:
browser.div(:id, "softwarelist")
I kind of accidentally tried various methods, but (obviously) no one worked. Using the 'show_all_objects' method, for example:
puts browser.div(:id, "softwarelist").show_all_objects
I get a list of all the different formats ... which leads me to believe that I am in the right ball, at least, but in fact I have no idea, since I am new to working with FireWatir.
Can someone point me in the right direction?
source
share