I am trying to verify the current option selected in a combo-box.

I have required and included watir_simple and invoked this method

$ie.assert_text_in_combobox_by_name('criteria.countryId', 'Select')

The problem I am receiving however is:"test failed: uninitialized class
variable @@browser in Watir::Simple"

I have looked at watir_simple.rb, and from what I can see I will need to
call new_browser_at(url)
for this to occur.

I am a bit unsure on how to go forward.

Aidy



---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. 
If you are not the intended recipient, please telephone or email the sender and 
delete this message and any attachment from your system.  
If you are not the intended recipient you must not copy this message or 
attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to