I am navigating a modal dialog with radio buttons, buttons, and checkboxes. Everything works when I run in debug mode (using Eclipse). When I run nondebug, the checkbox identifiers (by id) are not recognized. Example code:
ie.modal_dialog.checkbox( :id, 'inpCheckBoxDC_19' ).set ie.modal_dialog.checkbox( :id, 'inpCheckBoxDC_23' ).set ie.modal_dialog.checkbox( :id, 'inpCheckBoxDC_20' ).set ie.modal_dialog.checkbox( :id, 'inpCheckBoxDC_1' ).set ie.modal_dialog.checkbox( :id, 'inpCheckBoxDC_2' ).set I added a sleep stmt between checkbox stmts to slow things down and watir still complains: in `assert_exists': Unable to locate object, using id and inpCheckBoxDC_19 (Watir::Exception::UnknownObjectException) Any tips on how to make watir happy? --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=4874&messageID=13517#13517 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
