there is a project for me,the requirement is that "Logs into your gmail account. Concatenate and print out the contents of all emails in your inbox."
there is the code: require 'watir' ie = Watir::IE.new ie.goto("http://mail.google.com") ie.text_field(:name, "Email").set("slovenana") ie.text_field(:name, "Passwd").set("shqy111218") ie.button(:name, "null").click sleep 3 ie.show_all_objects ie.frame("main").show_all_objects ie.frame("main") .frame(:name,"v1").show_all_objects ie.frame("main").frame("v1").span(:id,"[EMAIL PROTECTED]").click but the last sentence:"ie.frame("main").frame("v1").span(:id,"[EMAIL PROTECTED]").click" seems no response! it only flash one time, but no text changed. ie.button().click......is OK! but why ie.span().click does not work well? Thanks! _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general