[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] how to select rows under grid for EXTJS code using watir.
Hi, I have to select the row under Grid which is an extjs code. When we have a grid, and want to select a row in the grid, for some reason we cannot select it. We have sent click events and it appears that we're getting the right row (watir highlights the row in the browser), but our app code doesnt get the event from ext-js. Can some one help me how can i click/select this row, so that i can go ahead. Any help is appriciated. Bhavesh --~--~-~--~~~---~--~~ 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] getting the css href links
Using watir, how can I get the href links of the CSS in my pages: link rel=stylesheet href=http://estaticos01.cache.el-mundo.net/elmundo/estilos/v4.x/v4.07/ comun.css type=text/css media=all / link rel=stylesheet href=http://estaticos02.cache.el-mundo.net/elmundo/estilos/v4.x/v4.07/ portada.css type=text/css media=all / These links are not among the results if I do something like: require 'watir' ie=Watir::IE.new() ie.goto(http://www.elmundo.es;) ie.links.each {|link| puts link } --~--~-~--~~~---~--~~ 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 simulate click the calendar day?
On Tue, May 26, 2009 at 5:33 AM, lianglina_2...@sohu.com wrote: ie.select_list(:id,begdate).click ie.select_list(:id,calendaryear).select(2009) ie.select_list(:id,calendarmonth).select(06) My Watir script can not find this elements on the page that you have sent the link to. Are you sure you have sent the correct link? A screen shot of select box would also help, because I could not find one on the page. Željko --~--~-~--~~~---~--~~ 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] Watin issue - Watin.Core.Exceptions.ElementNotFoundException
I don't know if anyone can help but I thought I would try! I have code that runs that gives me the error : Could not find a 'INPUT (text password textarea hidden) or TEXTAREA' tag containing attribute name with value (It's testing a website) It says it can't find a What reason could it be that it can't find it? It finds others without an issue on other pages, but this page for some odd reason it baulks? How can that be? --~--~-~--~~~---~--~~ 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 compare the captured web pages
if first == second puts same else puts not the same end From: Durgesh Nadkarni fordurg...@yahoo.co.in To: watir-general@googlegroups.com Sent: Monday, May 25, 2009 3:12:39 AM Subject: [wtr-general] Re: How can I compare the captured web pages Hi Michael, Thank you for the reply. I was busy with other stuff so replying after few days. Can you give me sample code or syntax for comparing two images once I had both the images in md5 hash format? So I will first take both the images keyword.jpg newimage.jpg in the same way by capturing them through screen_capture method and then would go for hash comparison. Please let me know on above. Thanks Regards Durgesh. --- On Fri, 8/5/09, Michael Hwee michael_h...@yahoo.com wrote: From: Michael Hwee michael_h...@yahoo.com Subject: [wtr-general] Re: How can I compare the captured web pages To: watir-general@googlegroups.com Date: Friday, 8 May, 2009, 8:44 PM Instead of comparing the image to image, you can use MD5 key comparision. Here is an example. require 'digest/md5' first = Digest::MD5.hexdigest(File.read(keywords.jpg)) second = Digest::MD5.hexdigest(File.read(NewImage.jpg)) Compare that two md5 hash. Michael From: Durgesh Nadkarni durgeshnadka...@gmail.com To: watir-general@googlegroups.com Sent: Friday, May 8, 2009 4:13:17 AM Subject: [wtr-general] How can I compare the captured web pages Hi, I have used following method to capture the image of a web page screen_capture(keywords.jpg,true) Then I have captured the one more page. Now I want to compare both the pages. What method can I use? Also how can I compare a specific portion of a page with other page? Please update me on above Thanks Regards Durgesh. Explore and discover exciting holidays and getaways with Yahoo! India Travel Click here! --~--~-~--~~~---~--~~ 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: gmail tutorial example doesn't work
Zeljko, I'm a pretty quick study. Would you mind taking a quick look and seeing why the demo fails? It would be instructive to me and I think to entire group. Jeff On May 21, 5:09 pm, MatchBook jeffrey.fl...@gmail.com wrote: Hello, I was burnishing my watir skills and I noticed that this example didn't work. It fails on the canvas_frame.button(:text, 'Send').click # Send the message step. I tried myself to figure out how to fix this problem as a challenge to my developing skills. I had trouble. The Send button appears to be a weird non-image button. I was frustrated in my attempts to get the button to flash using irb and the ie toolbar. I'd be interested to learn how to fix this. Jeff --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---