[wtr-general] Re: How can I open message in gmail inbox.
Thanks et., al YES, your idea works and easy way. if just top of message like that ie = IE.new ie.goto('http://mail.google.com/mail/') ie.text_field(:id, 'Email').set('yourID') ie.text_field(:id, 'Passwd').set('yourPwd') ie.button(:name, 'signIn').click ie.link(:xpath, '//span').click then ,able to view message body. thank you very much all. On May 27, 2:27 am, Felipe Knorr Kuhn fkn...@gmail.com wrote: Did you try the basic (HTML) view as well? It should be much easier to parse and interact with Watir. FK 2009/5/26 tknv rreedd...@gmail.com: 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 -~--~~~~--~~--~--~---
[wtr-general] Re: How can I open message in gmail inbox.
Thanks,but now OWA is not required for our team. On May 27, 2:05 pm, Prajakta Jadhav jadhav.praja...@gmail.com wrote: Is it okay if the account concerned is Outlook Web Access.. or you require only gmail or yahoo and such other mail accounts? I have implemented exactly same functionality taht you are seraching for.. but in OWA I can share it with you incase you can work with OWA On Tue, May 26, 2009 at 10:37 PM, tknv rreedd...@gmail.com wrote: Thanks quick reply. It is useless in Watir General ? It is too complex...I can not know how complex that will be. Do you know another solution ? Because the aim is just check mail body,any web mail account is ok for testing. And more over,when use web mail for testing,at 1st try to use Gmail in general. Because most popular web mail account. It will be most common test case. Just I feel strange your content or I do not understand what is Watir General. Thanks On May 26, 4:08 pm, Wesley Chen cjq@gmail.com wrote: Please don't try on Gmail. It is too complex and it can't represent the common cases, so it is useless. Thanks. Wesley Chen. On Tue, May 26, 2009 at 1: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 -~--~~~~--~~--~--~---
[wtr-general] Re: How can I open message in gmail inbox.
Please don't try on Gmail. It is too complex and it can't represent the common cases, so it is useless. Thanks. Wesley Chen. On Tue, May 26, 2009 at 1: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 -~--~~~~--~~--~--~---
[wtr-general] Re: How can I open message in gmail inbox.
Thanks quick reply. It is useless in Watir General ? It is too complex...I can not know how complex that will be. Do you know another solution ? Because the aim is just check mail body,any web mail account is ok for testing. And more over,when use web mail for testing,at 1st try to use Gmail in general. Because most popular web mail account. It will be most common test case. Just I feel strange your content or I do not understand what is Watir General. Thanks On May 26, 4:08 pm, Wesley Chen cjq@gmail.com wrote: Please don't try on Gmail. It is too complex and it can't represent the common cases, so it is useless. Thanks. Wesley Chen. On Tue, May 26, 2009 at 1: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 -~--~~~~--~~--~--~---
[wtr-general] Re: How can I open message in gmail inbox.
Did you try the basic (HTML) view as well? It should be much easier to parse and interact with Watir. FK 2009/5/26 tknv rreedd...@gmail.com: 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 -~--~~~~--~~--~--~---
[wtr-general] Re: How can I open message in gmail inbox.
Is it okay if the account concerned is Outlook Web Access.. or you require only gmail or yahoo and such other mail accounts? I have implemented exactly same functionality taht you are seraching for.. but in OWA I can share it with you incase you can work with OWA On Tue, May 26, 2009 at 10:37 PM, tknv rreedd...@gmail.com wrote: Thanks quick reply. It is useless in Watir General ? It is too complex...I can not know how complex that will be. Do you know another solution ? Because the aim is just check mail body,any web mail account is ok for testing. And more over,when use web mail for testing,at 1st try to use Gmail in general. Because most popular web mail account. It will be most common test case. Just I feel strange your content or I do not understand what is Watir General. Thanks On May 26, 4:08 pm, Wesley Chen cjq@gmail.com wrote: Please don't try on Gmail. It is too complex and it can't represent the common cases, so it is useless. Thanks. Wesley Chen. On Tue, May 26, 2009 at 1: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 -~--~~~~--~~--~--~---
[wtr-general] Re: How can I open message in gmail inbox.
hi there: I could have sworn there was already a thread where someone posted the code to do this in Googlemight 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 -~--~~~~--~~--~--~---