I've just discovered another place where the same error comes up, however this error does not disable the script like the other. (maybe because in the previous the navigation occurs with a window.open whereas here a button is clicked and the form is posted.)
the vbscript code is: if len(trim(document.all("txtOldPassword").value)) = 0 then //tell user to enter data The Watir code is: mainFrame.link(:url,%r{ChangePassword}).click mainFrame.text_field(:name,"txtOldPassword").set(user_password) txtRandomPassword = random_string(12) mainFrame.text_field(:name,"txtNewPassword").set(txtRandomPassword) mainFrame.text_field(:name,"txtConfirmPassword").set(txtRandomPassword) mainFrame.button(:name,"cmdSave").click #above line generates the error (so i suppose data is not validated), but still navigates correctly to next page mainFrame.button(:name,"cmdReturn").click Just more data. Thanks for reading!!! --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6554&messageID=18717#18717 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general