Using cucumber and watir - Vista and Windows 7
Get the following error message:
Unble to locte element, using :nme,
q (Wtir::Exception::UnknownObjectException)
./fetures/step_definitions/serch_steps.rb:11:in `/I serch for
(.*)/'fetures/serch.feture:8:in `When I serch for cucumber
Charley Baker and I talk with Tom Copeland (programmer for InfoEther, lead
developer of SafariWatir, system administrator of RubyForge.org) about
SafariWatir, watirspec, RubyForge.org, Gemcutter, GitHub, other podcasts Tom
recorded, how to raise 7 kids…
While we were recording the podcast Tom
Hi,
I'm searching any info of comparing Watir and Selenium.
I have found a lot of usefull linkstips on the internet, but if you have
some recent comparison of these two let me know.
Many thanks,
E.
--~--~-~--~~~---~--~~
You received this message because you are
I had a chat today with Sai, author of ChromeWatir, and he agreed that I
could upload chromewatir-1.5.0.gem to RubyForge.
I have created chromewatir package at wtr project and uploaded it there:
http://rubyforge.org/frs/?group_id=104
Soon you will be able to do this:
gem install chromewatir
Hi all,
We have a new version of Watir for testing, 1.6.5.rc2.
the release is here with instructions:
http://wiki.openqa.org/display/WTR/Development+Builds
If you have a chance to take a look at it, let us know. There have been a
few changes since the last release candidate, most of those are
hello,
I am pretty new to watir.
Installed watir by using the following commands (in this order)
sudo gem install firewatir
sudo gem install safari watir
This happened in irb:
irb(main):001:0 require 'watir'
LoadError: no such file to load -- watir
from (irb):1:in `require'
from
Hi,
The Application is IBM WebSphere which is a ajax application, works
fine in IE6. But not in IE7.
Since the OS is Vista, IE browser starts with IE7 as a package.
Any idea would be highly useful for us.
--~--~-~--~~~---~--~~
You received this message because
Hi all,
There's been a lack of feedback on this release candidate. I'm hoping
some of you had the chance to test it out. If not, please take some time if
you will to run through some of your tests with this build, there have been
quite a few fixes and we could use some eyes to check for
Getting an error while starting up the program on this code where I am
extending SelectList (file name is watir_or.rb)
require 'rubygems'
require 'watir'
require 'win32ole'
module Watir
class Picker SelectList
# picker specific methods
end
end
The error is
./watir_or.rb:8:
Hi all,
There have been a lot of changes since the last release of Watir - 1.6.2,
many of these being contributions we've received from various community
members, core committers and others. In the effort to include Firewatir as a
1st class citizen, there are a lot compatibility changes and
Hello,
I have one watir environment that is well functioning (that I didn't
set up).
I was trying to set up a new watir environment but somehow the tests
that are running on the good environment are not running on the new
environment.
For example, a test that is well running on one environment
Sai and I talk with Angrez about FireWatir, Watir and their merge, replacing
JSSH with Firedriver, XPath, Firewatir-Gen, Google Summer of Code™,
Bangalore Watir user group, WatiN, Indian music…
http://watirpodcast.com/27-angrez-singh-on-firewatir/
Željko
--
http://watirpodcast.com/
Some Background on architecture of the app is needed:
Windows 2003/Apache-v2.2/IE7/Watir-v1.6.2/Ruby-v1.8.5
1. Apache running under 'localsystem' account.
2. Request to run a Watir script comes in.
3. Apache CGI kicks off IE7 under a particular user, e.g. 'tester',
and attaches the IE7
Hi ,
In our project, we need to enter the data in Rad editor of Telerik controls.
I am automating this process.
$ie.text_field(:id,rad_Editor).set(test) i have used this code after
executing my script i got below mentioned error
IN32OLERuntimeError: unknown property or method `readOnly'
I am recording a podcast with Angrez Singh, creator of FireWatir, on Tuesday
September 8th, 5 pm UTC.
If there is something you always wanted to ask him, send your question here
and I will aks.
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You received
Hi All,
In my project as per my client requirement,I have to integrate Watir
with QC.
It would be great help if you have any suggestions and help in this
regard.
Please help me.
Thanks,
kiran.
--~--~-~--~~~---~--~~
You received this message because you are
Gregg and I talk with Alister about Watir.com:
http://watirpodcast.com/26-alister-scott-on-watir-com/
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post
I'm trying to run Watir scripts from a Shoes app and the Shoes console
keeps giving me a
hoe requires RubyGems version = 1.3.1 error.
I've tried the steps on http://tobiasbraner.de/blog/?p=19 (that's my
comment at the bottom) but to no avail. I even tried using his sample
program, no dice.
Has
Hi
Has anyone ever countered a scenario below:
td align=right Date of Birth/td
td colspan=1
OBJECT id=txtUDF origvalue=##fld##_unmask=18011962
HiddenName=udf1
classid=CLSID:98A52828-A5D6-11D3-82B8-00104B39A31D
Hello,
I've made some progress getting Watir to run on Ruby 1.9.1 using the preview
installer provided by the RubyInstaller guys (
http://rubyinstaller.org/downloads/).
A recent benchmark comparing the various interpreters on Windows (
I am totally new and just trying to learn and do basic staff.
I installed RC2 Ruby and Watir.
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
While running gem install watir got this error:
Installing ri documentation for builder-2.1.2...
ERROR: While generating documentation for
Hi Guys,
Do we have a timeline on when Watir 1.7 will be released?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Hello,
I cannot open a modal dialog and return from it.
This is waht I do:
Thread.abort_on_exception = true
t = Thread.new {
t[6].fire_event(onmousedown)
puts after event
sleep(1)
# raise Exception from thread
}
puts after thread
for i in (1..100)
puts i
end
t1.kill
Hello,
Sorry for the previous message, the finger slipped onver SPACE :)
I cannot open a modal dialog and return from it.
This is waht I do:
Thread.abort_on_exception = true
t = Thread.new {
button.fire_event(onmousedown)
}
t.kill
It never reaches t. Firing the event onmouse down on
Hi All,
Can anybody tell me is watir supports java aaplets?
Is it will support in future? any work going on
Thanks
Khaja shariff
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this
DIV style=BORDER-BOTTOM-STYLE: solid; BORDER-BOTTOM-COLOR: #ec1d84;
OVERFLOW-X: hidden; BORDER-RIGHT-STYLE: solid; MARGIN-TOP: 20px;
BORDER-TOP-COLOR: #ec1d84; WIDTH: 550px; BORDER-TOP-STYLE: solid;
HEIGHT: 425px; BORDER-RIGHT-COLOR: #ec1d84; BORDER-LEFT-STYLE: solid;
OVERFLOW: auto;
Hello!
I encountered an interesting problem. Now i don't know, or believe that it is
Watirs fault but i could not find out why it happens.
When i'm running a script on IE7 it occasionally happens that when ie starts it
freezes and the script can not proceed.
Did somebody happen to notice
*Watir work with java editor*
HI all,
i have to automate : to enter the text in java editor (HTML editor)
is it possible with watir
Thanks,
Khaja shariff
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir
Does anyone know of a good tutorial/step-by-step instructions for how
to integrate watir/ruby into a cruise control build cycle. I have 1
xml output file (from ci_reporter) and I want my script to run after
the build and then integrate the xml results into the cruise control
output. Thanks!
Hi All
Is any body use Watir as Web Crawler ever ?
Waiting for some positive response :)
Thx
Ravinder Singroha
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email
Gregg Yows and I talk with Dave Hoover about SafariWatir and software
craftsmanship.
http://watirpodcast.com/25-dave-hoover-on-safariwatir-and-software-craftsmanship/
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You received this message because you
Hi,
We are looking for options for an automated testing solution for
applications on Safari on Windows.
We are looking at relatively simple web applications here.
Will WATIR be able to support this?
For e.g.: Record on Firefox and replay on Safari, all on Windows, with
minimal tinkering?
Hi there,
does anybody use Open Source Test Tools for normal applications?
With normal I mean non-web-applications.
Main Platform: Windows. Cross-platform (Ubuntu-linux/windows) would be
nice.
I would like the ease of use and scripting functionality of Watir and
RUBY.
Grtz.R.
I am recording a podcast with Dave Hoover of SafariWatir this Friday 7pm
utc.
If you have any questions for him, please post them here.
What is that podcast thing, you ask? Take a look:
http://watirpodcast.com/
Željko Filipin
--~--~-~--~~~---~--~~
You received
I am an open source dev/tester looking for Watir opportunities.
http://www.visualcv.com/richdownie
http://github.com/richdownie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this
I am a dev/tester searching for Watir opportunities.
http://www.visualcv.com/richdownie
http://github.com/richdownie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send
Ruby and Watir are now getting some traction in London...
http://skillsmatter.com/event/agile-testing/utilising-watir-to-test-in-an-agile-environment
--
Aidy
blog: www.agiletester.co.uk
twitter: http://twitter.com/aidy_lewis
--~--~-~--~~~---~--~~
You received
I have some things happening where I really need to be able to access
things that are defined as a header row (using TH tags) in a table.
but Watir doesn't currently support this.
Is this anywhere on the wishlist? Or am I going to finally be forced
into learning how to do xpath stuff?
I finally found a performance issue and it was in the watir library.
If a page (and dont get me started about it) has 200 plus radio
buttons and your watir script decides to print all the attributes like
so
radios = ie.radios()
for radio in radios
puts radio.name
puts radio.value
end
Then
The question: how does the Internet Explorer object created via Watir
(Watir::IE.new) differ from an Internet Explorer object opened the
traditional way via Windows?
I'm not sure it's supposed to be different, but I'm observing the
following:
We've created some AB testing variations using the
Hi,
I'm new on here and apologies if this is not the done thing!
I specialise in OSS recruitment for Computer People. I have a number
of vacancies in Watir and other OSS related testing tools.
Please reply to matthewwill...@computerpeople.co.uk for more details
Thanks
Matt
Hi,
Please help me out to deal with model dialog box...
i have ruby version 1.8.6
and watir 1.6.2 installed on my system and IE8.
I am using the following script:
require 'watir'
ie=Watir::IE.attach(:url,url_path)
#click_no_wait does not work it wont do any thing.
ie.button(:id,btn).click
All,
As I mentioned a few weeks back I have created a DSL for WATiR, I call it
the WATiR Scripting Langauge - WSL. I have been creating a lot of collateral
and am currently writing examples for it. You can view them and download the
WSL gem and install locally from here - http://wsl.xqoob.com
Some notes on my original vision behind Watir:
http://www.io.com/~wazmo/blog/archives/2009_04.html#000293
I'm thinking of writing more about this. If you would like to read more,
please send questions. You can post them on the blog, or here, or send
me private emails or twitter replies.
I talk with Bret about WatirCraft, a testing framework that builds on Watir.
http://watirpodcast.com/22-bret-pettichord-on-watircraft/
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To
Hi
Over the last few months I have been using WATiR to test a web application
we have been developing. As a noob to both Ruby and WATiR (myself and the
rest of the project team), I have to say we have found WATiR to have a very
shallow learning curve.
To aide non-developers, and to increase
Hi
The following is the code written for a check list.
td class=cellLabeldiv id=ctl00_ContentPlaceHolder1_Div7
align=right
span id=ctl00_ContentPlaceHolder1_lblSupervisor
class=dataentrylabelsStyleSupervisor :/span/div/tdtd
class=cellInputselect
Hi,
i have installed watir 1.6.2 and executed the following lines.
require 'rubygems'
require 'watir'
include Watir
ie=IE.new
But i am getting the folling error
ruby sa.rb
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
core_ext/module/introspection.rb:70:in `const_get':
Watir returns the first element found when there are multiple elements
with the same name. I'd like for it to return all the elements instead
of just the first one found.
I know I can do this by using xpath plus an iterator, but is there any
other quicker way?
e.g.) ie.div(:class, something)
I think the biggest thing alot of us Watir developers need is a good
guide to design patterns with Watir. I know for myself, I know the
commands and basic syntax pretty well, and can design a test structure
that works, but I'm sure there are things I'm doing that could be
designed better (I'm a
Hi,
I am calling code like the following and it is complaining that the element
does not have the method -
browser = Watir::IE.new
return browser.div(:id, div_id).visible?
The error I get is -
undefined method for #(Watir::Div:0x602ad04) (NoMethodError)
As I understand it div
Hello all.
We are currently evaluating Watir as a solution for us. One thing that
has come up today in meeting: are there any known issues with running
Watir on a 64b Windows, any of them?
TIA.
--~--~-~--~~~---~--~~
You received this message because you are
Yesterday there was some post looking for making Watir work with
JRuby. So here is something for those JRuby guys.
Here is something crazy I did. I was thinking of doing some thing on
JNI interface stuff to make win32ole work am lazy as of now :) (May be
work on this later). So why not use
Does anyone know the status of porting Watir to JRuby? I saw some
posts last year that indicated it was on the wish list, but that a
stumbling block was the Win32OLE module...just thought I'd drop a note
out here and see if anyone has knowledge of anything in the works. I
love Ruby and Watir,
Hi,
When i execute the following code
ie = Watir::IE.new()
ie.goto(http://www.yahoo.com;)
it opens a new IE window first and then goes to a second window, where
yahoo.com is opened. When i give a command like ie.refresh() or access
ie.html it is the first window ( which is blank ) that is
I've recently started teaching Watir classes again. Last week I taught a
1/2 day intro to Watir class in Denver (at the SQuAD conference) that
got good reviews. It is a hands-on lab-based class that people install
on their laptop and take with them, so they can continue learning even
after
Hi guys,
I am trying to install Watir.
But by starting application, I am getting this error message.
This application failed to start because msvcr80-ruby18.dll was not found.
Re-installing the application may fix this problem.
Please help me to resolve this.
Thanks in advance
Best
Hello Group
Has anybody tried running watir installed to a non-default gem system
path? For example, assuming you've installed all required gems using
something like:
gem install gem --no-rdoc --no-ri --ignore-dependencies -i /temp/
gems
Then in irb:
require 'rubygems'
Gem.clear_paths
I had to reinstall Watir/ Ruby after several attempts, I found I had
to delete the registry entries, they are not deleted with the app was
uninstalled. I apparently missed some, and finally installed Watir/
Ruby in a different directory. Now when I attempt to run a script I
am getting the
Thanks to our friends at Transcore (tip of the hat to Keith Hamilton),
Bret Pettichord will be delivering Watir training April 16-17, 2009 in
Beaverton, Oregon (just outside Portland). This will cover Watir and
the new WatirCraft framework, so you won't want to miss it if you are
in the Pacific
On Fri, Feb 20, 2009 at 1:19 PM, Narendra Gollapilli
narendra.gollapi...@gmail.com wrote:
Hi All,
I m new to Watir its very good frame work for automate web application.
In my application Widgets are there m unable write code to capture/click on
those Please help me out this.
Does Watir documentation have a license? Is documentation BSD license like
Watir code?
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to
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 - it should open two IE windows and print DONE.
It does open the browsers
Hello all,
I'm having trouble with Watir::Waiter.wait_until. My goal is to wait
until a button is present before clicking it.
I'm trying replace the sleeps with wait_until.
1) This works:
sleep 5
$ie.frame(:index, 3).frame(:index, 3).frame(:index, 1).button(:id,
'editButton').click
2) This
Hi ,
I am looking for a UI testing tool for testing a webapplication, I
could find that two of the tools look very promising Watir and
Selenium
Can any point me where does Watir score well over Selenium in
otherwords which tool do you prefer..?
Thanks
-Khaja
Recently I started forgetting to announce each podcast I publish, but this
is the last one from awta 2009, so I had to announce it. :)
http://watirpodcast.com/awta-2009-rick-hower/
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed
All,
I haven't used Watir for about 7-8 months now, but I am now setting up a new
framework using Watir. I am writing to ask about the latest updates to Watir,
and its compatibility with Firefox. Which build of Watir should I install to
get the version that supports both IE and Firefox?
Tried this on the wtr-development-boun...@rubyforge.org and got no
responses so I will try here.
Fellow Watir testers/developers,
I am moving forward with setting up and testing my Ruby and Watir
environments.
I have all but 5 watir/unittests passing when I run the watir tests
individually
Hi there, I was fishing through some old Watir examples when I decided
to try the joke script found at:
http://agileworks.blogspot.com/2006/04/geeks-version-of-joke.html
When I run the code, I notice that Watir gets stuck waiting for the
first page to load (the only URL specified in that
On Cygwin, I ran into two separate problems that prevented Watir 1.6.2
from working.
First, the 'win32ole.so' file that ships with Watir appears to be
incompatible with the version that is installed with my copy of Cygwin-
ruby. (see http://pastie.org/374756)
An error message 'bad file
Hello friends,
When i am trying to use watir on vista OS. Watir is not able to fetch
elements.
Can anyone help me by telling how to solve this problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
Hi all!
Just curious if anyone is successfully running Watir on Solaris. I
have a friend who would like to use Watir, but needs to run it on
Solaris as well as Windows. She only needs to test IE and Firefox, so
the browsers are covered.
Thanks!
-Tiffany
I have beenbe running watir/rspec scripts on various machines. My scripts work
great! However, when the scripts are ran on a virtual machine and the
connection is closed but still running, the scripts do not work efficiently. In
other words,when I close the virtual machine without logging off
Here is a piece of code that represents the characters (╖Äïσ) properly
in IE.
require 'win32ole'
WIN32OLE.codepage = WIN32OLE::CP_UTF8
browser.text_field(:id, 'blah').value='my characters'
In Firefox, the characters in the text field are represented as: 记录阿里巴
巴
The above does not seem like a
Hi,
Could someone please give me the path to the new Watir trunk ( I
understand it has moved from OpenQa)
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email
I've been try to figure out what the best practice is for watir
regarding running a number of tests in parallel. So far, other then
deploying multiple machines and allocating browser time to a group
of tests and managing that, I haven't had an amazing amount of luck.
Initially, I thought - hey,
I've been having some issues with scripts that ask IE to visit a lot
of URLs eventually killing IE and failing. In these instances,
ruby.exe is sitting right around 30Mb of memory, Excel (used to import
data) is around 5Mb, and IE works itself up from 100Mb to 1.5Gb.
At it's most basic point, I
If you are interested in training on Watir, including the new
framework that is in the works, WatirCraft is offering a two-day
public class in Austin March 25-26, 2009. Private on-site training
is also available. http://www.watircraft.com/watir-training/
Apologies if the commercial nature of
Greetings,
I searched the group posts and found one about CruiseControl
Integration, but it's from 11/27/2007 - just over a year old n' I
can't reply to it.. So resurrecting the issue in hopes to get more
contemporary info. and provide more concrete examples on this journey
through the
We are successfully running a cc.rb server to continuously test our
rails app. Unit tests and cucumber tests run smoothly. Up till now we
(only) make use of webrat, hence no need to have mongrel or webrick
running the rails app.
Now if we wanted to introduce watir we would need some way to
I'm having a look at Ruby in Steel as a potential IDE for doing
testing automation with Watir.
http://www.sapphiresteel.com/
Mostly because:
1) all my devs use Visual Studio for their work, so it puts me on the
same platform, gives me good integration with our source control etc.
2)
I am recording a show with Paul Rogers, Watir co founder. Friday, November
28th, 6pm (utc+1).
If you have a question for him, send it here. I will be monitoring #watir
irc channel during the recording, so you could post your last minute
question there too.
A few people said they are interested
Hi
My team recently upgraded to watir 1.6.2.
To drive our testing we read data from a file and build data sets for
each test case. One element of the data set is the browser we wish to
test against (i.e. IE or Firefox).
If the browser changes (e.g. from IE to Firefox) we close the IE
browser
Once after Installation I have run the core_tests.rb in the Unit test
folder. I have got all the results as failure. upon running some other
ruby script and again i tried to run the same core_tests.rb script.
that time i got to get no failures but only the assertions are there
in 1176 some
In the eigth episode, our host Željko Filipin talks with Alister Scott
about his experiences in test automation and using Watir to automate tons of
tests. Alister also talks about his new position as Watir Wiki Master and
how the Watir community can continue to improve this resource.
Thanks a lot
I have built and uploaded Watir 1.6.1. This fixes all of the
install/load problems reported by MarekJ and Tony, and in fact has a
simplified install process.
Details here
http://wiki.openqa.org/display/WTR/Development+Builds
Please let me know of any trouble with this. If it looks good, I
Did anyone try to integrate Watir scripts with TeamCity continuous
build system? Is there way TeamCity to kick off Watir scripts
automatically?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To
Here is a simple source code to log into orkut.
You simply cannot find any links or anything because the document
retains the JavaScript code, not the actual JavaScript result.
See ie.html below to understand what I am talking about.
Is there anyway to make the Watir document gets updated
801 - 888 of 888 matches
Mail list logo