Agreed, I would say dump it and somewhere in the intial guides, since this is a common question, put an NB: saying don't start with gmail.
-c On Tue, Feb 23, 2010 at 1:12 PM, Bill Agee <billa...@gmail.com> wrote: > It's probably possible to fix the gmail script used in the wiki example, > but it would take some effort, and it would no longer be suitable as a > "simple" Watir example. :) > > So, with that in mind, I suggest we remove the gmail wiki page. I > commented out the contents of the article, but did not see a way to remove > the "Automating Gmail with Watir" page from the list of child pages of > "Simple Examples". > > Could someone with full privileges on the wiki take a look and see if they > can remove the gmail page from the Simple Examples child list? > > Just for the record, here is some detail on the current state of why > clicking the "Send" button in gmail is broken: > > Watir is able to locate the divs containing the "Send" text, but the way > gmail is built, if Element#click is used on any of the nested divs that make > up the button, the click is somehow blocked. > > I also noticed that I could not use the Element#focus method on most of the > nested divs that contain gmail buttons. Probably the same root cause as the > click problem. > > In IE, this may have something to do with the use of the > "unselectable='on'" attribute value that is present on most of the button > divs. > > In Firefox I noticed that some of the same divs have this: > "style='-moz-user-select: none;'". However, I didn't do any investigation > with FF. > > Using both Element#ole_object= and the IE dev toolbar, I tried setting > "unselectable='off'" for each nested div that makes up the "Send" button, > but this didn't lead anywhere promising, unless I missed something. > > Thanks > Bill > > > On Tue, Feb 23, 2010 at 2:30 AM, Alek <aleksander.lip...@gmail.com> wrote: > >> Thanks Željko >> >> I have went through this pages already. >> >> I understand your concept, and probably I will need to try some easier >> web or switch to basic, however back to my question is this possible >> to click this div using watir ? >> >> I would not start from gmail, however this script looked very >> appealing and it is not working on "fatview" gmail >> >> >> thanks >> Alek >> >> On 23 Lut, 11:21, Željko Filipin <zeljko.fili...@wa-research.ch> >> wrote: >> > On Tue, Feb 23, 2010 at 10:17 AM, Alek <aleksander.lip...@gmail.com> >> wrote: >> > > I just started 'playing' with Watir so I am really newbie. >> > > I started from automating Gmail >> > >> > Please do not use Gmail to learn how to use Watir. Gmail is full of >> strange >> > things. If you really want to use Gmail, then switch to basic html view >> > until you are familiar with Watir. >> > >> > I would suggest that you read this: >> > >> > >> http://wiki.openqa.org/display/WTR/Quick+Starthttp://wiki.openqa.org/display/WTR/Tutorial >> > >> > Željko >> > -- >> > watir.com - community manager >> > pledgie.com/campaigns/2982 - donate to Watir >> > watirpodcast.com - host >> > testingpodcast.com - podcasts on software testing. all of them >> >> -- >> 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<watir-general%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/watir-general >> > > -- > 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<watir-general%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/watir-general > -- 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