I feel that Watir has seen a huge paradigm shift especially in the last
year. My thinking is, it has shifted from being a test driver
implementation to an API to which individual drivers conform to.
http://developer-in-test.blogspot.com/2009/02/watir-is-it-good-or-just-good-enough.html
Not supported in FireWatir. You might want to add this to Jira.
Bret
Bill Mosteller wrote:
Thought I'd posted this last night, try, try again.
I've got a script that's working nicely with Watir, MS-IE, and an
imbedded YUI editor, and I'm trying to replicate things under
FireWatir. I've
Your problem is with the win32-api gem. Lots of others are having
problems with this as well, as you'll see if read some of the other
active threads. Right now, best solution is to uninstall ruby,
reinstall, and pray. We are working to better understand the details.
Bret
AR wrote:
Thanks
? The problem is that the one-click-installer is
version 1.8.6 and that might be the version with the problems gems
recall. Is there another place to download a one-click-installer
without the gems recall problem?
Cheers
On Feb 12, 5:20 pm, Bret Pettichord b...@pettichord.com wrote:
This notice
I think that wiki page hasn't been updated to keep pace with Watir
development.
Here is the current code (which you can emulate or modify if you want to
add to it):
http://github.com/bret/watir/blob/28e41789478e27186a144ccc72938d17e8fcf086/watir/lib/watir/non_control_elements.rb
All the
Jeff Fry wrote:
irb(main):003:0 Watir::IE::BROWSER
NameError: uninitialized constant Watir::IE::BROWSER
from (irb):3
This is correct, and what I get too.
There is no such thing as Watir::IE:BROWSER.
Bret
--~--~-~--~~~---~--~~
You received this
The Watir Rdoc would be covered by the same BSD license as the rest of
the source code.
I don't think we have a license for the wiki.
Bret
Željko Filipin wrote:
Does Watir documentation have a license? Is documentation BSD license
like Watir code?
Željko
My guess is that the problem lies with the encoding used over the socket
that connects to the JSSH plugin.
Bret
John Kolokotronis wrote:
Furthermore, I tried Željko's solution here:
http://zeljkofilipin.com/2007/02/26/enter-non-english-character-in-text-field/
Works perfectly with Watir/IE
(instead of the other
way around which I originally did), worked fine and the common
Watir::Browser.default option is working correctly in setting Safari
as the browser to work with. FireWatir has always worked as expected
for me.
Regards,
John
On Feb 19, 5:21 am, Bret Pettichord b
My question is: would your lawyer call my lawyer if some parts of my
article are similar to some Watir documentation? :)
Without an explicit license, the wiki contents are in the public domain.
Go ahead and reuse it as you will.
Bret
--~--~-~--~~~---~--~~
Could you please log your report in Jira?
Bret
Paul Denize wrote:
Someone unfortunately upgraded one of my PC's. I was pleased to find
miost watir scripts still ran. One did not. It was the only one that
utilized two IE windows at the same time. The code below demonstrates
the issue -
you may need to reinstall a gem. please see the recent notice, gem recall.
bret
magn...@ifi.uio.no wrote:
Hello, untill recently Watir worked fine, but today, when I run a
script I get the Error message:
c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.3.0/lib/windows/api.rb:
333:in
::Browser.new continues to launch Firefox?
On Feb 9, 8:37 pm, Bret Pettichord b...@pettichord.com wrote:
John Kolokotronis wrote:
The wiki also still mentions that Mac installation is done with:
sudo gem update --system
sudo gem install firewatir
The firewatir unit tests won't run from the gem install on any platform.
Bret
jbgene wrote:
Is there another workaround. When I add require rubygems' I get:
`gem_original_require': no such file to load -- unittests/setup/lib
(LoadError)
It just seems to transfer what are incompatible or
Bill Mosteller wrote:
Thanks. Just tried onClick, and it doesn't work either.
From the Ruby PickAxe book:
And if some thread happens to make a call to the operating system
that takes a long time to complete, all threads will hang until the
interpreter gets control back.
Exactly. Which
The problem is that you have include Watir at toplevel in one of your
programs.
Bret
malar wrote:
Hi,
I have to include a ruby program inside another ruby program.
i used the following command,
require ' logintest.rb'
But i am getting an error,
For some background on this problem, please see Daniels recent statement.
http://djberg96.livejournal.com/162898.html
Bret Pettichord wrote:
Here is a stack trace that indicates that you have the error discussed
below:
C:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.3.0-x86-mswin32-80/lib/win32
- :bulk_threshold = 1000
- REMOTE SOURCES:
-http://gems.rubyforge.org/
Thanks for your help!
Ben Lemire
On Feb 12, 1:58 am, Bret Pettichord b...@pettichord.com wrote:
I think you need to do more than that. The problem seems to be that
there bad versions of these gems out
This notice applies to people who installed Watir last week and are
seeing problems.
There was a bad gem, win32-api version 1.3.0 distributed last week. The
problem was fixed with a new gem that was given the same version number.
As a result, the gem installer can't tell whether you have the
:in
`gem_original_require'
from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:45
Bret Pettichord wrote:
This notice applies to people who installed Watir last week and are
seeing
These tips are written for Watir users, but apply to any gems.
1. First do gem update --system. This updates you to the latest
version of rubygems (the gem installer). You only need to do this once
(after you install Ruby). Many of the problems that people report with
installing gems happen
Al,
Can you share what you learned from this?
Bret
Al Snow wrote:
http://translate.google.com/translate?prev=_thl=enie=UTF-8u=http%3A%2F%2Fd.hatena.ne.jp%2Fi123%2F20080906%2F1220725269sl=jatl=enhistory_state0=
Can we learned from them to improve the Watir wiki?
Al
connect your computer to the internet.
aruna prabha wrote:
then how do i install watir in that case.
Aruna
On 2/5/09, *Bret Pettichord* b...@pettichord.com
mailto:b...@pettichord.com wrote:
The error indicates that the gem installer is unable to access
rubyforge.org http
Many people who have recently installed Watir are reporting new
problems. We've tracked them down to some new windows gems that Watir
uses. They have some incompatibilities.
Many people are able to fix these problems by doing
gem install windows-pr
Give it a shot. It might work for you
cannot be the only person who has encountered this.
Yep, you want this combination:
win32-api 1.3.0 or later
windows-api 0.3.0 or later
windows-pr 0.9.9 or later
Regards,
Dan
--
Bret Pettichord
GTalk: bpettich...@gmail.com
CTO, WatirCraft LLC, http://www.watircraft.com
Lead Developer
it is possible to simply copy over your ruby directory after you have
installed watir on another machine. i've done this.
bret
aidy lewis wrote:
Good point. Not sure if you can just copy over your gem folder.
Or create the VM after you have installed your test environment
Aidy
2009/2/4
I used to use eclipse this way, and have had similar troubles and now
just run my tests from the command line. I still use eclipse for
editing. Even when i get Eclipse to run my tests, it is slow.
Niharika Patro wrote:
Hi,
I am facing a weird issue while executing Watir scripts in Eclipse.
doing include Watir might be the source of your problem.
Bret
Brian Tomlin wrote:
I have an old script that extends the IE class. Here are the first few
lines:
require 'rubygems'
require 'watir'
include Watir
class Portal IE
This use to work fine before, but I have recently updated
The error indicates that the gem installer is unable to access
rubyforge.org, where the gems are stored.
This can happen if there is a firewall, in which case you need to set a
proxy.
It can also happen if your computer is not connected to the network.
Bret
aruna prabha wrote:
I have set
is for winClicker.rb I don't know how it's going to affect
click_no_wait method.
Can anyone please help me out.
Thanks and Regards,
Lokesh Agrawal
On Feb 2, 9:08 pm, Bret Pettichord b...@pettichord.com wrote:
http://jira.openqa.org/browse/WTR-279
lokesh.agra...@gmail.com wrote:
Hi Bret
:in
`setu
p'
2) Error:
test_send_public_gift(TC_Send_Private_Gift):
NoMethodError: undefined method `close' for #Watir::IE:0x3294480
C:\Documents and Settings\anna\Desktop\ruby\Gifts\PrivateGift.rb:19:in
`tear
down'
1 tests, 0 assertions, 0 failures, 2 errors
2009/2/2 Bret Pettichord b
http://jira.openqa.org/browse/WTR-279
lokesh.agra...@gmail.com wrote:
Hi Bret,
Can you please tell me from where I can get the patch?
Thanks and Regards,
Lokesh Agrawal
On Jan 20, 7:53 am, Bret Pettichord b...@pettichord.com wrote:
A patch that fixes this problem was recently
A = ie.div(:class, /text/).li(:index, 1).text
Amit Agarwal wrote:
Hi,
Please help me in identifying the text written in the li tag of a
defined div
div class=text
nbsp;Please review and make necessary corrections on this
page:
ul
li
Thank you for figuring out how to get Watir working (again) with cygwin.
If you could put this in Jira, then we'll be sure to look at fixing this
in the next release.
Bret
Arco wrote:
On Cygwin, I ran into two separate problems that prevented Watir 1.6.2
from working.
First, the
You might need to set the execute bit of the win32ole.so file.
Arco wrote:
Hi Sai - Yes I did check the permissions, and searched the newsgroups
for possible solutions. I tried running Watir on different cygwin
platforms w/o success.
Could the bug be tied to a certain version of ruby??
I agree with #2. Watir::IE.new should be fine.
I'm also 99% sure you don't even need the win32ole.so file (it is only
needed for showModalDialog support). There is a line in the watir code
that loads this file (instead of the standard win32ole.so file that
comes with ruby).
So I suggest
Is it showModalDialog?
mag7417 wrote:
Hi!
I have devoured as much information as possible all over the Internet
the past few days dealing with my problem. I see people talk about
Watir and Java but nothing related to my problem.
I am trying to access a website (actual code except the
From: Bret Pettichord b...@pettichord.com
To: watir-general@googlegroups.com
Sent: Friday, January 23, 2009 7:05:46 AM
Subject: [wtr-general] Re: ie.contains_text problem
I'm not sure if contains_text returns false or nil when fails to find a
match. Try this instead:
if assert
I'm not sure, but i think you can do frame.images.show instead.
Bret
Jagdeep Jain wrote:
Hi,
It seems that there are some problem with following methods with
frames... are there any other ways we can have all images, spans,
links, divs, frames, tables from the frames?
1) Error:
I have handed over responsibility for the Watir website to Charley
Baker, Alister Scott and Alan Baird.
Bret
sai wrote:
Hi,
Is it possible to update the watir website with the ChromeWatir and
FlashWatir info? It will give people updated info about Watir.
Thank you.
Please let me know if
This weekend we held a workshop on several Watir related subjects.
http://awta.wikispaces.com/AWTA+2009
Notes, photos, presentations, and podcasts from the workshop have been
posted.
http://awta.wikispaces.com/Notes+from+AWTA+2009
Bret
--
Bret Pettichord
GTalk: bpettich...@gmail.com
CTO
to the
@page_container.eval_in_spawned_process when running under this type
of security setup. Make sure whatever process is launching Ruby is
running as a normal user account and see if that resolves the problem.
Hope this helps.
On Dec 12 2008, 9:19 am, Bret Pettichord b...@pettichord.com
1. somehow you did not actually install watir.
2. you should use watir 1.6.2. it is better.
bret
Rahil wrote:
Hi Guys,
Am using watir for quite some time with ruby version 1.8.4 and watir
gem version 1.5.1.1192. Till now it was working fine for me with this
version but just now i have
Turn off page caching?
Bissquitt wrote:
I did find one answer a few pages back but they involved closing IE
On Jan 13, 2:47 pm, Bissquitt bissqu...@gmail.com wrote:
So im running a script that goes to MANY webpages and I noticed that
each web page it goes to it still stores the
It sounds like you may have encounted a bug in goto that occurred with
an old version of Watir. What version are you using?
Prince3105 wrote:
Hi Experts,
I use below code to log the application, some time application hangs
to load, that time test also gets hang and lets to fail.
@ie1
Richard Lawrence wrote:
Using FireWatir's element_by_xpath on my Mac, I get the expected type
for the element. For example, on the Google home page:
irb(main):008:0 b.element_by_xpath(//*...@name='btnG']).class
submit
= FireWatir::Button
But with Watir (on Windows, of course), I always
to add here?
Bret
Richard Lawrence wrote:
But there's no way for Watir to infer the object type the way FireWatir does?
Thanks,
Richard
On Mon, Jan 12, 2009 at 9:15 AM, Bret Pettichord b...@pettichord.com wrote:
Richard Lawrence wrote:
Using FireWatir's element_by_xpath on my Mac
AR wrote:
I tried another instance where
I added the ie = Watir::IE.new and an ie.close to the function, but
opening and closing IE for each url took up more memory.
Try Watir::IE.new_process instead. This will open (and then close) a
process each time, and therefore should avoid the
/archives/2007_07.html#000254
Cheers,
Alister
On Dec 23 2008, 2:17 am, Bret Pettichord b...@pettichord.com wrote:
aami...@gmail.com wrote:
I am in search of a sample Ruby Based Web Application which can be
used for testing using Watir tool. Can anyone helpme on this.
Thanks in advance
If you can get me a reproducible case, then I would like to see a Jira
report.
Otherwise, you might just add a note to
http://wiki.openqa.org/display/WTR/Firewatir+Compatibility
watirpuppy wrote:
After breaking out the offending line
userID = @@browser.cell(:xpath,
Normally when you install Ruby on Windows, sets the RUBYGEMS env var to
rubygems -rubygems. My guess is that when you reinstalled, for some
reason this did not happen. You can do this manually and it should fix
your configuration.
Note to others: this solution can also work on Mac if you
I think you need a newer version of Ruby 1.8.6. I recommend 1.8.6-26.
What are you using?
Bret
bugs apple wrote:
Hi, all
In our 32 bit winXP, the Watir 1.5.6 and ruby 1.8.6 have installed.
Sometimes we have ran into the Ruby crash unexpectedly.
it throws the following errors,
It is good that you are doing this.
Suggestions.
If target is Windows + Mac + Linux
1. gem install firewatir
2. check
3 - not necessary, remove
4 - not necessary, remove
5. check
Bret
aidy lewis wrote:
Hi,
Can anyone please have a quick look at this to see if it is accurate?
This is the first I've heard of this problem. Could you please report
this in Jira?
http://jira.openqa.org/browse/WTR
Bret
watirpuppy wrote:
I've run into a few issues too.
I'm writing scripts that work in both IE and FireFox. Using
Watir::Browser.default = and Watir::Browser.new
Today the Watir gem only works on Windows. I have plans to eventually
make it be cross-platform.
Bret
aidy lewis wrote:
Hi Bret,
2008/12/29 Bret Pettichord b...@pettichord.com:
It is good that you are doing this.
Suggestions.
If target is Windows + Mac + Linux
1. gem install
,
No i havent used Mechanize. Nor have i heard of it to be honest.
Before i jump into it and start playing around with it, i would like
to ask have you used it in the means in which im trying to access the
xml defined above?
Cheers
On Dec 23, 3:08 am, Bret Pettichord b
aidy lewis wrote:
Hi,
Can anyone tell me where the attach method now exists?
Aidy
It is an instance method on Watir::IE and a class method on
FireWatir::Firefox.
If you look in trunk, you'll see that there is also an instance method
on FireWatir::Firefox.
Bret
Have you considered using Mechanize instead of Watir? That's what I've
used when I've had to test XML.
Bret
winstan wrote:
Hello Again,
After playing around with rexml with some of the URL’s provided in
this thread and other sites I have found I have established that you
are in fact
aami...@gmail.com wrote:
I am in search of a sample Ruby Based Web Application which can be
used for testing using Watir tool. Can anyone helpme on this.
Thanks in advance.
I've been using the Depot application from the Rails Book, for this purpose.
.
Driving me nuts, just glad to see someone else has the issue, because
this has been driving me up the wall.
On Dec 9, 7:55 am, Bret Pettichord b...@pettichord.com wrote:
Is this true for the others seeing this problem as well?
I've tested this on Vista and haven't seen it, so I know
This approach would work. It's what Selenium does.
Bret
aidy lewis wrote:
Hi,
Why isn't Watir using Javascript to deal with confirm or alert boxes?
Would it not be easier to pass something like this to the address bar:
javascript:void(window.confirm=function(){return true;}); ?
Aidy
I did not realize that people were still posting bug reports to the
firewatir project. We've been using Jira to track bugs with FireWatir
since the summer.
http://jira.openqa.org/browse/WTR
Wilson, I read your report, but would appreciate more details. Can you
give us an example of a page
Everybody, this post is spam. This post is about PHP and is being posted
here simply as a way to increase traffic to the interview door site, not
to help the Watir community. Could some one please block the poster from
this list. He's done this more than once.
Bret
raj wrote:
What is the
No.
Shiv wrote:
Bret
Since we have customiztion on the 1.4 watir code, we not able to
upgrade now. is there any tweak?
Thanks
Shiv
On Dec 12, 7:20 am, Bret Pettichord b...@pettichord.com wrote:
This is a bug in Watir 1.4. It is fixed in Watir 1.5 and Watir 1.6. Time
to upgrade
/Signed in as (.*)/.match(browser.ul(:id, 'ulInfoLinks').li(:index,
1).text)[1]
Natasha wrote:
Hi All,
I want to access the value of the LI element, which is within an UL
element.
Following is the HTML structure:
UL class=inline id=ulInfoLinks
LI
Signed in as STRONG
I claim that it works the way you'd expect. To test this claim, tell me
how you'd expect it to work.
Bret
Chuck vdL wrote:
The set option is a nice way to be able to run the very same script
against both browsers without having to edit the script itself. e.g.
run in one system set for
Margam,
I cannot reproduce your problem as described.
C:\set watir_browser=firefox
C:\irb
irb(main):001:0 require 'watir'
= true
irb(main):002:0 b = Watir::Browser.new
= #FireWatir::Firefox:0x3d32c48 @window_url=about:blank,
@t=#Thread:0x3d0c7
8c sleep,
Please do not that although you can't run these tests from the gem, you
*can* run them if you pull the development source.
A great way to learn what this code does is to run it and then start
changing lines and see what happens. I do it all the time.
Bret
Mark Anderson wrote:
This seemed
Er, Please do NOTE that ...
Bret Pettichord wrote:
Please do not that although you can't run these tests from the gem,
you *can* run them if you pull the development source.
A great way to learn what this code does is to run it and then start
changing lines and see what happens. I do
Upgrading to 1.6.2 for most people should be a zero-effort upgrade.
Upgrading to use Browser.new and make your tests also work with
FireWatir -- now that may take some effort. (This is what i think you
are doing.)
A full stack trace would help.
Bret
[EMAIL PROTECTED] wrote:
Howdy,
I am
Is this true for the others seeing this problem as well?
I've tested this on Vista and haven't seen it, so I know there is more
to it, but I could believe that it is something Vista specific.
Bret
Divya wrote:
It happens only on Vista
On Dec 9, 2:10 am, Bret Pettichord [EMAIL PROTECTED
Larry,
We've had multiple reports of this problem with click_no_wait, but I
have not been able to reproduce them.
Bret
[EMAIL PROTECTED] wrote:
Hey all -
I'm trying to dismiss popups as described at
http://wiki.seleniumhq.org/display/WTR/JavaScript+Pop+Ups, solution
#5. The first
Watir::Browser.attach is not supported/included in 1.6.2. (although it
mostly works in trunk)
Watir::IE.attach continues to work as ever.
Bret
aidy lewis wrote:
Hi Bret,
2008/12/4 Bret Pettichord [EMAIL PROTECTED]:
Where do you see that it is not supported?
http
, Bret Pettichord [EMAIL PROTECTED] wrote:
Please do note that all of the examples you've found so far represent
correct Ruby code. In many cases with Ruby, parentheses are optional.
It might be best if you reported your findings to the Ruby in Steel
people so that they can fix
Where do you see that it is not supported?
aidy lewis wrote:
Hi,
On the wiki I am informed that the browser.attach method is not
supported in 1.6.2
What alternative method can I use to hook onto an existing browser?
Aidy
--~--~-~--~~~---~--~~
You
.
The b.close call closes the newly opened firefox window but never
returns on its own.
If I close ff now manually, the b.close call returns showing:
= #Thread:0x1a39b38 dead
Hope this helps! Any ideas are appreciated!
Matthias
On 2 Dez., 17:27, Bret Pettichord [EMAIL PROTECTED] wrote
-2.1.2...
Installing RDoc documentation for user-choices-1.1.6...
Installing RDoc documentation for commonwatir-1.6.2...
Installing RDoc documentation for firewatir-1.6.2...
Installing RDoc documentation for watir-1.6.2...
C:\Documents and Settings\Chuckv
On Nov 11, 1:32 pm, Bret Pettichord
, Dec 2, 2008 at 6:23 PM, Bret Pettichord [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
The reason that enabled popup is in contrib is to indicate that
it is
unsupported code.
I've never used Watir's modal dialog support for production testing
(except
1. Your stack trace indicates that you are using FireWatir 1.2.0, not 1.6.1
2. Your stack trace error is inconsistent with the code you provide.
Please double check the actual code on line 25 of Accounts.rb
Bret
Girish Jindal wrote:
Hello,
I am facing an issue using FireWatir. FireWatir is
Short answer: no.
Dave Hoover says this is browser.quit in SafariWatir. Similar is
IE.close_all. We need to figure out what to do to be consistent.
Regardless, this problem should not be causing your scripts not to
return. Can you provide more information? Something else may be happening.
In three separate threads recently, people have been confused because
what they see with puts doesn't match with what they are testing in an
if statement
e.g.
puts foo
hello
but
if foo == hello
this_is_never_called
end
The problem stems from the fact that puts is actually
Info has been updated to say Watir supports IE and Firefox.
News for 1.6.2 were accidently called 1.6.1 and as far as i know this
can't be edited.
Beta? I dunno. What do you suggest we call it?
Bret
Chuck vdL wrote:
Is this on the todo list?
I was just there and noticed that the info
this enabled_popup thing to deal with modal dialogs? In that case, how
DO we deal with modal dialogs?
thanks,
Lisa
On Thu, Nov 13, 2008 at 11:06 AM, Bret Pettichord [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
i've added the require statement to the enabled popup script
itself, so
Thanks for sharing your report. I looked at Ruby in Steel over a year
ago and it sounds like it has made a lot of progress since then.
Back then, our developers were using Visual Studio as well. I agree that
it is very attractive for this kind of environment.
Bret
Chuck vdL wrote:
I'm
This works for me, although I am using ie 6.0. I'm wondering if this is
broken with ie 7. Can any one else try this out?
Bret
patrick wrote:
hi,
i am using the foll versions:
win xp sp2
ruby - 1.8.6
watir - 1.6.2
ie - 7.0
my code is as follows:
irb
require watir
browser =
I've added this to the compatiblity issues table.
http://wiki.seleniumhq.org/display/WTR/Firewatir+Compatibility
aidy lewis wrote:
On 28/11/2008, al3kc [EMAIL PROTECTED] wrote:
Hi all,
Does click_no_wait method exists in firewatir? I didn't found it in
firewatir sorce files and it
I get the following error:
c:/ruby-186-26/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in
`assert_exists': Unable to locate element, using :index, 0
(Watir::Exception::UnknownObjectException)
from (eval):2:in `html'
from index.rb:6
Is this what you are seeing?
aidy
Aidy,
Could you please create a wiki page with your list of editors. I thought
we had a page started, but I can't seem to find it. It would be great to
collect people's thoughts on the pros and cons of these editors for
watir test development.
Bret
aidy lewis wrote:
Hi Natasha,
Below is
The thing to remember is that puts does an implicit to_s (or
inspect, i can't remember exactly) on its argument.
Bret
Sameh Abdelhamid wrote:
Very nice. Thanks Wes.
I couldnt find this anywhere!
Cheers.
On Wed, Nov 26, 2008 at 3:38 PM, wesley chen [EMAIL PROTECTED]
mailto:[EMAIL
aidy lewis wrote:
However there are many new Watir potential users who might just know
it as a Ruby test tool.
Right. And now that Ruby is becoming a popular app language, I think
people might think the R is Watir refers to the target application.
Chuck vdL wrote:
(and if these things get stuff working, do I need to raise a jira
issue for this so we make sure to make these changes in the watir
source? (point me at instructions for this if they exist, so I do it
'right' I'm used to using Jira at work, but in my experience every
Please do note that all of the examples you've found so far represent
correct Ruby code. In many cases with Ruby, parentheses are optional.
It might be best if you reported your findings to the Ruby in Steel
people so that they can fix their parser.
Bret
Bret Pettichord wrote:
Chuck vdL
My preferred ruby style is (1) not to include parentheses when they are
optional, and (2) not to pad them with extra spaces when they are used.
Bret
Chuck vdL wrote:
Brett,
ACK I'm still at babysteps level of ruby coding and you're trying to
turn me into a contributor aren't you ;)
ok
I don't want to answer Paul's questions for him, but everyone should
understand that Watir is not for Ruby applications. It is for web
applications written in any language. It works great for .Net applications.
Bret
aidy lewis wrote:
Hi,
For the other one, I was asked to automate an
JArkelen wrote:
I added a HTML report class example to the wiki:
http://wiki.seleniumhq.org/display/WTR/HTML+report+class
This class can be used to create a HTML report of a test script
execution.
thanks for sharing this. could you attach a sample report to the wiki
page? that will make
1. I don't know why it is using firefox
2. With the way you've structured your tests, you should start the
browser in the setup file, not in each test file. That way you'll only
have one.
Bret
Natasha wrote:
Hi All,
WATIR: 1.6.2
I tried creating a wrapper script after refering to the unit
Many of you know that every year or two I hold an event called the
Austin Workshop on Test Automation. It brings together a small group of
people to have detailed discussions. This January we are meeting again
and we are focussing on Watir and the Organization.
If you might be interested in
Many of you have noticed that openqa.org is not seleniumhq.org. This
change was made earlier this week. This was something that we've known
was coming for some time. At the same time, authentication for
confluence and jira stopped working. This is a bug and we expect it to
be fixed soon.
For
Er, I meant to say openqa.org is NOW seleniumhq.org.
Bret Pettichord wrote:
Many of you have noticed that openqa.org is not seleniumhq.org. This
change was made earlier this week. This was something that we've known
was coming for some time. At the same time, authentication for
confluence
+1
Chuck vdL wrote:
right now both of them are very IE specific
Shouldn't they be changed to reflect the new integration with
Firewatir and altered so that
* They use Watir::Browser instead of Watir::IE
* show how to set the browser type
* use an a generic name for the browser object
201 - 300 of 338 matches
Mail list logo