Hey Hugh! Glad to see you here. Here's my take. We need a consistent abstraction with how to handle native events - windows, clicking, etc. This is a really good question. There are native events coming out in Webdriver which are exposed through watir-webdriver as they come out, there's still a lot of missing components.
For the current version of Watir we could use Rautomation, it gives us some leeway in translating the calls. I'm talking about it on IRC now. Charley Baker Lead Developer, Watir, http://watir.com On Mon, May 2, 2011 at 1:04 PM, Hugh McGowan <colinsda...@gmail.com> wrote: > Hi all, > > The problem I saw was that Ruby 1.8.7 throws a SEGV with the existing > winclicker - 1.8.6 with the same bundle of gems worked fine. I did a quick > test using FFI and it seemed to correct the problem. > > I was thinking of fixing this issue by implementing the existing > functionality of WinClicker in FFI. These both look like fine tools, but are > a little more ambitious than what I'm trying to solve :). > > Thoughts? > > Thanks! > Hugh > > > On Sat, Apr 30, 2011 at 1:27 AM, Jarmo <jarm...@gmail.com> wrote: > >> Yes, i created RAutomation (https://github.com/jarmo/rautomation) >> which uses also FFI, why not give it a try? Let me know if anything is >> missing (FFI adapter is the most advanced one currently due to outside >> contributions). >> >> Jarmo >> >> On Sat, Apr 30, 2011 at 2:49 AM, Ethan <notet...@gmail.com> wrote: >> > I'd encourage the use of the WinWindow library (being quite biased, >> > admittedly, having written it). It was written to replace winclicker, >> and do >> > things winclicker couldn't, and sounds very much in line with the work >> > you're describing. >> > http://winwindow.vapir.org/ >> > Also jarmo has done some other work along related lines with the idea of >> > replacing AutoIt, I believe. >> > >> > On Fri, Apr 29, 2011 at 18:33, Bret Pettichord <b...@pettichord.com> >> wrote: >> >> >> >> I'm writing about some work that Hugh McGowan has been working on this >> >> week. We are trying to move Convio's testing framework from Ruby 1.8.6 >> to >> >> Ruby 1.8.7 because 1.8.6 is getting harder and harder to support. >> >> >> >> He's had to do two things for this. >> >> >> >> 1. Repatch and recompile win32ole -- this is needed for the showModal >> >> dialog support. >> >> 2. Rewrite the winclicker code. His rewrite uses FFI and I've been >> >> encouraging him to go wild and create a new class to do this with a >> more >> >> intuitive interface. >> >> >> >> I'm hoping he will share more about this work that he is doing to get >> >> comments on it. >> >> >> >> Bret >> >> >> >> -- >> >> Bret Pettichord >> >> Director, Watir Project, www.watir.com >> >> >> >> Blog, www.testingwithvision.com >> >> Twitter, www.twitter.com/bpettichord >> >> >> >> >> >> _______________________________________________ >> >> Wtr-development mailing list >> >> Wtr-development@rubyforge.org >> >> http://rubyforge.org/mailman/listinfo/wtr-development >> > >> > >> > _______________________________________________ >> > Wtr-development mailing list >> > Wtr-development@rubyforge.org >> > http://rubyforge.org/mailman/listinfo/wtr-development >> > >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development@rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development >
_______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development