[wtr-general] Re: Watir, AutoIT, Window Title and Regular Expression
My guess is that AutoIt has been updated since it was originally packaged with Watir. AutoIt itself is not open-source software, so we have to look at licensing issues before updating what we use. Bret Jarmo Pertman wrote: > Why on earth has it done like that?!? Any good reasons why not to > include AutoIT with full functionality? Anyone? > > Seems silly to do that silently and i see it just as a one more source > of possible nasty problems and debugging. > > Jarmo > > On Oct 29, 11:10 am, Željko Filipin > wrote: > >> On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma >> wrote:> Watir auto it implementation is not working if i use the REGEXPTITLE >> of >> >> auto it with it. The same script written directly in AutoIT works although. >> >> I have played with autoit a few months ago, also trying to use regular >> expressions. Watir installs a smaller version of autoit, that has only a >> subset of full autoit functionality, and egular expression support is not >> there. >> >> Željko >> -- >> watir.com - community manager >> watirpodcast.com - host >> > > > --~--~-~--~~~---~--~~ 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: Watir, AutoIT, Window Title and Regular Expression
Why on earth has it done like that?!? Any good reasons why not to include AutoIT with full functionality? Anyone? Seems silly to do that silently and i see it just as a one more source of possible nasty problems and debugging. Jarmo On Oct 29, 11:10 am, Željko Filipin wrote: > On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma > wrote:> Watir auto it implementation is not working if i use the REGEXPTITLE > of > > auto it with it. The same script written directly in AutoIT works although. > > I have played with autoit a few months ago, also trying to use regular > expressions. Watir installs a smaller version of autoit, that has only a > subset of full autoit functionality, and egular expression support is not > there. > > Željko > -- > watir.com - community manager > watirpodcast.com - host --~--~-~--~~~---~--~~ 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: Watir, AutoIT, Window Title and Regular Expression
Yes, same here. but still the ruby script doesn;t work for me. As Zeljko has stated watir has not implemented complete autoit functinalities Now my question here is if anyone can please answer: If i have auto it complete installed and watir then should the ruby script work? coz its not working for me. -- Pallavi. On Thu, Oct 29, 2009 at 4:03 PM, SMF SMF wrote: > In my machine I have AutoIT - autoit-v3-setup.exe and Watir - > ruby186-26.exe > > > > On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma > wrote: > >> Another person has replied and stated that the ruby script works with >> REGEXPTITLE option >> >> I am sorry i dont know the name, so SMF ; well fine but autoit is >> installed on my system also and the ruby script with REGEXPTITLE doesn;t >> work for me. >> >> Is it that if you have complete auto it on the system then the ruby/watir >> script will work?? >> >> -- >> Pallavi. >> >> On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin < >> zeljko.fili...@wa-research.ch> wrote: >> >>> 2009/10/29 Pallavi Sharma >>> >>> > i wonder why for SMF SMF the ruby script works?? >>> >>> I did not understand this. >>> >>> Ž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] Re: Watir, AutoIT, Window Title and Regular Expression
In my machine I have AutoIT - autoit-v3-setup.exe and Watir - ruby186-26.exe On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma wrote: > Another person has replied and stated that the ruby script works with > REGEXPTITLE option > > I am sorry i dont know the name, so SMF ; well fine but autoit is installed > on my system also and the ruby script with REGEXPTITLE doesn;t work for me. > > Is it that if you have complete auto it on the system then the ruby/watir > script will work?? > > -- > Pallavi. > > On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin < > zeljko.fili...@wa-research.ch> wrote: > >> 2009/10/29 Pallavi Sharma >> >> > i wonder why for SMF SMF the ruby script works?? >> >> I did not understand this. >> >> Ž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] Re: Watir, AutoIT, Window Title and Regular Expression
Also, in the scripts i am trying to detect if a Notepad window is opened if yes then close it. for me autoit script works but not ruby/watir. -- Pallavi On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma wrote: > Another person has replied and stated that the ruby script works with > REGEXPTITLE option > > I am sorry i dont know the name, so SMF ; well fine but autoit is installed > on my system also and the ruby script with REGEXPTITLE doesn;t work for me. > > Is it that if you have complete auto it on the system then the ruby/watir > script will work?? > > -- > Pallavi. > > On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin < > zeljko.fili...@wa-research.ch> wrote: > >> 2009/10/29 Pallavi Sharma >> >> > i wonder why for SMF SMF the ruby script works?? >> >> I did not understand this. >> >> Ž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] Re: Watir, AutoIT, Window Title and Regular Expression
Another person has replied and stated that the ruby script works with REGEXPTITLE option I am sorry i dont know the name, so SMF ; well fine but autoit is installed on my system also and the ruby script with REGEXPTITLE doesn;t work for me. Is it that if you have complete auto it on the system then the ruby/watir script will work?? -- Pallavi. On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > 2009/10/29 Pallavi Sharma > > > i wonder why for SMF SMF the ruby script works?? > > I did not understand this. > > Ž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] Re: Watir, AutoIT, Window Title and Regular Expression
Hi Pallavi, Just for information, AutoIt is installed in my machine also. Thanks, SMF 2009/10/29 Pallavi Sharma > Oh Thanks Zeljko > > thats what even i was thinking, but i wonder why for SMF SMF the ruby > script works?? > > nyways thanks Zeljko. > > -- > Pallavi. > > > On Thu, Oct 29, 2009 at 2:40 PM, Željko Filipin < > zeljko.fili...@wa-research.ch> wrote: > >> On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma >> wrote: >> > Watir auto it implementation is not working if i use the REGEXPTITLE of >> auto it with it. The same script written directly in AutoIT works although. >> >> I have played with autoit a few months ago, also trying to use regular >> expressions. Watir installs a smaller version of autoit, that has only a >> subset of full autoit functionality, and egular expression support is not >> there. >> >> >> Željko >> -- >> watir.com - community manager >> watirpodcast.com - host >> >> >> >> >> >> > > > > --~--~-~--~~~---~--~~ 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: Watir, AutoIT, Window Title and Regular Expression
2009/10/29 Pallavi Sharma > i wonder why for SMF SMF the ruby script works?? I did not understand this. Ž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] Re: Watir, AutoIT, Window Title and Regular Expression
Oh Thanks Zeljko thats what even i was thinking, but i wonder why for SMF SMF the ruby script works?? nyways thanks Zeljko. -- Pallavi. On Thu, Oct 29, 2009 at 2:40 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma > wrote: > > Watir auto it implementation is not working if i use the REGEXPTITLE of > auto it with it. The same script written directly in AutoIT works although. > > I have played with autoit a few months ago, also trying to use regular > expressions. Watir installs a smaller version of autoit, that has only a > subset of full autoit functionality, and egular expression support is not > there. > > > Željko > -- > watir.com - community manager > watirpodcast.com - host > > > > > > > --~--~-~--~~~---~--~~ 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: Watir, AutoIT, Window Title and Regular Expression
On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma wrote: > Watir auto it implementation is not working if i use the REGEXPTITLE of auto it with it. The same script written directly in AutoIT works although. I have played with autoit a few months ago, also trying to use regular expressions. Watir installs a smaller version of autoit, that has only a subset of full autoit functionality, and egular expression support is not there. Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ 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: Watir, AutoIT, Window Title and Regular Expression
For me the *Ruby Script:* is working. -Thanks On Thu, Oct 29, 2009 at 12:34 PM, Pallavi Sharma wrote: > Hi > > Watir auto it implementation is not working if i use the REGEXPTITLE of > auto it with it. The same script written directly in AutoIT works although. > > Does anyone knows why is this happening? > > Is something wrong with my script or is this not supported? > > *Ruby Script:* > > require 'win32ole' > > autoit = WIN32OLE.new('AutoItX3.Control') > ret = autoit.WinWait("[REGEXPTITLE:.*pad.*]") > autoit.WinClose("[REGEXPTITLE:.*pad.*]") > > > *AutoIT Script* > * > * > * > WinWait("[REGEXPTITLE:.*pad.*]") > WinClose("[REGEXPTITLE:.*pad.*]") > > > Anyone here please help. > > Thanks, > > -- > Pallavi > * > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---