hi there: I could have sworn there was already a thread where someone posted the code to do this in Google....might want to search.
On May 25, 10:51 pm, tknv <rreedd...@gmail.com> wrote: > hi et,.al. > I'd like to open gmail message for test sending password is collect or > not. > That's why need to open message to see message body. > Then I try that code below. > > ie = IE.attach(:url ,'http://mail.google.com/mail/?shva=1#inbox') > canvas_frame = ie.frame(:id, 'canvas_frame') > > after above try below > > canvas_frame.span(:text, 'MymessageName').click > but not works,watir click it,but not open message.(just MymessageName > was yellow highlighten) > > and also try below.72 is MymessageName span index. > canvas_frame.span(:index, 72).click > > and also try below > canvas_frame.span(:index, 72).text.click > This is error,not works > > How can I open? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---