Re: [Wtr-general] www.croczilla.com/jssh is down what does it mean ?

2006-12-19 Thread Dave Hoover
. SafariWatir has no dependency on JSSh or FireWatir, it uses the rb-appscript Apple event bridge to inject JavaScript into Safari to work its magic. I just spoke with Angrez a few days ago, helping him test a FireWatir gem on my Mac. As far as I know, he's still working on it. Dave Hoover http

[Wtr-general] SafariWatir 0.2.0

2006-12-04 Thread Dave Hoover
in this screencast: http://safariwatir.rubyforge.org/safariwatir_script_0.2.0.mov Here's the test suite source: http://rubyforge.org/viewvc/trunk/safariwatir_script.rb?revision=25root=safariwatirview=markup Dave Hoover http://redsquirrel.com/dave/ http://obtiva.com

[Wtr-general] Watir on Rails

2006-09-07 Thread Dave Hoover
I have just released a Ruby on Rails Plugin that allows for easy Watir testing in Rails. To install the plugin in your Rails project, execute ./script/plugin install svn://rubyforge.org/var/svn/watir-on-rails You can then use the generator to get you started on writing your first Watir on

Re: [Wtr-general] Watir on Rails

2006-09-07 Thread Dave Hoover
/). Does your plugin start the web server when you do the rake test:watir or do you have to ensure that the web server is already running? David Schmidt Dave Hoover wrote: I have just released a Ruby on Rails Plugin that allows for easy Watir testing in Rails. To install the plugin

Re: [Wtr-general] method which contains array as the parameter

2006-08-21 Thread Dave Hoover
On 8/21/06, sikander [EMAIL PROTECTED] wrote: this method is restricted to check for only 3 specific links. But I want to define array[] as the parameter, and I want to pass any number of links and verify it. This should do it... def run_check_links(ieHelper, *arrayText) for text in

Re: [Wtr-general] Submitting a form with multiple submit buttons

2006-08-21 Thread Dave Hoover
On 8/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a form with two submit buttons: input type=submit value=Cancel \ input type=submit value=Save \ I can't seem to access these with the Watir Button class and if I use form.submit, it always executes the 'Cancel' command above.

Re: [Wtr-general] contains_text with regular expression

2006-08-20 Thread Dave Hoover
On 8/20/06, sikander [EMAIL PROTECTED] wrote: assert($ie.contains_text(/Search/).exists?) Get rid of the .exists? and it should work fine. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] contains_text not giving match when the requested tags are in frames instead of main html body

2006-08-19 Thread Dave Hoover
On 8/19/06, Manish Sapariya [EMAIL PROTECTED] wrote: ie.contains_text(admin) returns me nil. Does watir support contains_text within frame as well? Yes, but you need to specify the frame like this... ie.frame(:name, foo).contains_text(bar) ___

Re: [Wtr-general] get the meta tag out of a page

2006-08-19 Thread Dave Hoover
On 8/19/06, Charley Baker [EMAIL PROTECTED] wrote: Watir deals with the html of the page, not the http headers. I'm not sure what the hard way is that you're dealing with currently, but you can access most of this information through ruby's net libraries: He's not talking about HTTP headers,

Re: [Wtr-general] Reading XML using watir/ruby

2006-08-17 Thread Dave Hoover
On 8/17/06, Chintakrindi Meghanath [EMAIL PROTECTED] wrote: Can anyone tell me, how to read XML file using watir/ruby ? Here one way to interact with XML in Ruby: http://www.germane-software.com/software/rexml/docs/tutorial.html ___ Wtr-general mailing

Re: [Wtr-general] Using regular expressions in Watir

2006-08-15 Thread Dave Hoover
On 8/15/06, Astha Raj [EMAIL PROTECTED] wrote: What I need do to only look for the string which ends with the given section. For example, I have two form fields with id like FormName_Name1 and FormName_Name1New So when I use the Watir statement like –

Re: [Wtr-general] Search through WATIR mailing archive

2006-08-13 Thread Dave Hoover
On 8/13/06, jadzien caruthas [EMAIL PROTECTED] wrote: Hi all, am looking for a way to search through the mail archive of this news group so i wont be asking a question that has already been asked. Try the following in Google: site:rubyforge.org [Wtr-general] your search via

Re: [Wtr-general] not exactly watir but a ruby question

2006-08-11 Thread Dave Hoover
On 8/11/06, Manish Sapariya [EMAIL PROTECTED] wrote: Hi, How do break out of x.times loop. Here's one answer to your question... http://permalink.gmane.org/gmane.comp.lang.ruby.general/21817 ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] SafariWatir 0.1.0

2006-07-21 Thread Dave Hoover
Announcment: http://redsquirrel.com/cgi-bin/dave/projects/watir/safari.watir.0.1.0.html Installation: gem install safariwatir Home Page: http://safariwatir.rubyforge.org/ Enjoy! --Dave ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] FireWatir deserves its own project

2006-07-13 Thread Dave Hoover
But the bigger issue of ensuring compatability between versions of Watir is tricky. For example, FireWatir doesn't support frames. Is this reasonable? I suppose that is up to whatever minimum standard is used to determine whether an API is sufficiently compatible or not. I like the idea of

Re: [Wtr-general] FireWatir deserves its own project

2006-07-13 Thread Dave Hoover
On 7/13/06, Bret Pettichord [EMAIL PROTECTED] wrote: With mine this is how you click an alert button: ie.dialog.button(OK).click For clarification, this is how you click an alert button with SafariWatir: browser.alert.click It doesn't take a parameter since alert boxes only have one button.

Re: [Wtr-general] FireWatir deserves its own project

2006-07-12 Thread Dave Hoover
On 7/12/06, Bret Pettichord [EMAIL PROTECTED] wrote: But what FireWatir needs is more experimentation, and that means that it needs to be developed according to different development rules from Watir. I am happy to consult, and to hear any ideas about how it might develop differently, but i

Re: [Wtr-general] Watir ran on Linux Fedora Core 5

2006-07-11 Thread Dave Hoover
Angrez said: So theoretically it is possible to run FireWatir on any platform. The only problem is what you are facing right now i.e. how to click the dialog boxes on that particular platform? Once we find solution to this, WATiR can be made a multi-platform testing tool. Speaking of

Re: [Wtr-general] assert_arrayEquals

2006-07-11 Thread Dave Hoover
On 7/11/06, Chris McMahon [EMAIL PROTECTED] wrote: You could write your own, but the coolest way I know to do this is like require 'test/unit' class Foo Test::Unit::TestCase def test_foo array_1 = [1,2,3] array_2 = [1,2,3] assert_equal(array_1 - array_2 ,[]) That doesn't quite cut

[Wtr-general] FireWatir on Intel Mac

2006-06-27 Thread Dave Hoover
://www.daveliebreich.com/blog/?page_id=6 Once he gets the XPI working, he will likely take down the Firefox binary. Thank you everyone working on (Fire)Watir, it's a great tool, and I hope that more work can be done to bring it onto the other browsers. Dave Hoover http://redsquirrel.com/dave