. 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
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
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
/). 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
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
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.
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
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)
___
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,
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
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 –
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
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
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
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
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.
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
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
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
://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
20 matches
Mail list logo