[wtr-general] Can you run Watir on an Ipad?

2011-11-21 Thread Patrick
Is it possible to take existing Watir scripts that run on a webbrowser and have them run on an Ipad? I guess I'm wondering if you can install Ruby and the watir-webdriver gems on an Ipad. If anyone has successfully done this I'd love to hear about it. Thanks, Patrick -- Before posting,

Re: [wtr-general] Can you run Watir on an Ipad?

2011-11-21 Thread Željko Filipin
On Mon, Nov 21, 2011 at 3:07 PM, Patrick patrick.rawli...@gmail.com wrote: I guess I'm wondering if you can install Ruby and the watir-webdriver gems on an Ipad. I do not think so. This is probably the closest to what you are looking for: http://code.google.com/p/selenium/wiki/IPhoneDriver I

Re: [wtr-general] Can you run Watir on an Ipad?

2011-11-21 Thread bis
iphonedriver is not bad at all i have used it on a few projects. you just have to use it with selenium-webdriver On Mon, Nov 21, 2011 at 7:26 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Nov 21, 2011 at 3:07 PM, Patrick patrick.rawli...@gmail.com wrote:  I guess I'm wondering

[wtr-general] how to call Function argument into another ruby script.

2011-11-21 Thread meaculpa
Consider I have a ruby file called library.rb. In which i defined a function like this : def Name(testcase, result) pdf = PDF::Writer.new testcase= $testcase pdf.text $testcase, :font_size = 72, :justification = :center result= $result pdf.text $result, :font_size = 72, :justification = :center

Re: [wtr-general] how to call Function argument into another ruby script.

2011-11-21 Thread brett sykes
Hello, I think you've posted this question to the wrong forum. This is the WATIR forum which deals with WATIR questions specifically. Have a nice day, Brett On Mon, Nov 21, 2011 at 11:45 AM, meaculpa harismah...@gmail.com wrote: Consider I have a ruby file called library.rb. In which i

[wtr-general] method_missing: fireEvent WIN32OLERuntimeError

2011-11-21 Thread xeranas
Hi all, I trying to do simple task fill 2 fields and click 'add', and so on.. ~ 80 times. But currently it crashes after 20-30 times with errors below. I guess this must be 'synchronous' problem.. But I have no idea how I can fix it. I use methods: check page with ie.busy and ie.readyState,

[wtr-general] Keyword Driven Framework

2011-11-21 Thread Deepu V nair
Good Morning, I am Deepu, Working as a Manual tester, i decided to learn an automation tool for my existence in the industry and i chose Ruby Watir. But i am having a lot of doubts . 1. How good is watir compared to other Free Tools Like Selenium ,Watin,Watij. 2.Which is the best free ware tool

[wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread Chuck van der Linden
Well firstly you would need Ruby for the iPad, and I don't know if such a beast exists, and if it does how good it is. ( Not owning an iPad, I'm not interested enough to research this.. google is your friend, have fun ;-) let us know if you find anything promising) After that you'd likely need to

Re: [wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread bis
I think he meant running them against an iphone/ipad either device or simulator this can be done with iphonedriver. we actually messed around with trying to actually get watir-webdriver and the iphonedriver to work together but it seems that watir-webdriver can launch the browser and go to the

[wtr-general] Re: how to call Function argument into another ruby script.

2011-11-21 Thread Chuck van der Linden
I would post this on a Ruby forum, on on Stack Overflow with a Ruby tag. What you are asking is pretty basic stuff in terms of defining classes and methods in ruby. You should be able to find the answers you need by reading any number of good books on basic ruby programming. For testers who

[wtr-general] Re: method_missing: fireEvent WIN32OLERuntimeError

2011-11-21 Thread Chuck van der Linden
maybe I'm not reading things right, but I think your 'ready' method is returning true when the browser is not ready I might also recommend a more current version of Watir, v1.6.7 is a little old You might want to try this with 1.9.1 and see if it works any differently for you. On Nov 21, 9:00 

[wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread Patrick
Thanks for the tips. I'll look into using an emulator and see what I can come up with. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

Re: [wtr-general] Re: method_missing: fireEvent WIN32OLERuntimeError

2011-11-21 Thread brett sykes
Yes, it looks like his ready method is returning true when the browser is in a busy state. But, besides that point, if you take Chucks advice and update to a more modern version (like 1.9.1), you can take advantage of the very cool #when_present extension and simplify your current code to

[wtr-general] Re: Keyword Driven Framework

2011-11-21 Thread Chuck van der Linden
I'm not sure how much current work has been done on Watin or Watij, it really all depends on what language you want to work in. Personally I prefer Ruby, but if your Developers are using .net or Java it might be easier to use something which has the same language so they can mentor you.

[wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread Chuck van der Linden
No worries for the hijack.. I was responding to I guess I'm wondering if you can install Ruby and the watir-webdriver gems on an Ipad. which I didn't take to mean using an emulator. (although I agree for testing purposes, the emulator approach is most likely best. ) It would be interesting to

Re: [wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread bis
I was going to www.etsy.com On Mon, Nov 21, 2011 at 12:50 PM, Chuck van der Linden sqa...@gmail.com wrote: No worries for the hijack.. I was responding to I guess I'm wondering if you can install Ruby and the watir-webdriver gems on an Ipad. which I didn't take to mean using an emulator.  

Re: [wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread Jari Bakken
watir-webdriver won't run on the iPad/iPhone (either emulator or device) until this bug is fixed: http://code.google.com/p/selenium/issues/detail?id=1371 On Mon, Nov 21, 2011 at 8:56 PM, bis bis...@gmail.com wrote: I was going to www.etsy.com On Mon, Nov 21, 2011 at 12:50 PM, Chuck van