On Apr 7, 6:13 am, JArkelen johnvanarke...@gmail.com wrote:
In most cases I use Rake to execute mulitple tests.
Which is great advice, but might as well be speaking greek to someone
just starting work with Watir and Ruby.
If you are a programmer type I can probably tell you Rake is Ruby's
On Apr 7, 5:58 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Apr 7, 2009 at 14:41, James jgcpal...@gmail.com wrote:
is there
any sort of framework/application/gem
http://github.com/bret/watircraft/tree/master
+1
--~--~-~--~~~---~--~~
You
The Rdoc works as a more technical reference. but intially it can be
a bit intimidating (kinda like trying to learn a new language from a
dictionary). as you get a feel for things the rdoc becomes more and
more useful. the Rdoc is a HTML documentation that is built
dynamically and runs from a
I would also look for opportunities where you could close and re-open
the browser. IE can be a bit of a memory pig I've noticed, and if you
are going to page after page after page with it, it will eventually
grow to use a lot of memory.
if it really was the text method in watir (or some
For FlashWatir support, you'd probably be best off contacting the
developer of flashwatir directly since I don't see that they have a
forum or anything listed on the google code page for it.
Your example below appears to be just a slightly edited version of
their generic example code, Most
does the outer table had a good way to identify it? does the inner
table exist inside a specific cell of the outer table?
You might try using .flash to see if you can sort of work your way in
from the outside.
Potentially (this is theory, I've got no good site I can think of to
hit and see if
if divs are draggable around the screen it's due to javascript running
on the client, since that's not a normal behavior in an html page all
on it's own.
You should probably talk to your devs to find out how it's being
done. I suspect you might end up having to do something like firing
the
after a set amount of iterations
sounds like it would work.
I'll try it tomorrow and let you guys know.
On Apr 6, 5:28 pm, Chuck van der Linden sqa...@gmail.com wrote:
I would also look for opportunities where you could close and re-open
the browser. IE can be a bit of a memory pig I've
Your original script would probably work if you'd had the correct
value for the ID.
You were using the id of the DIV that contained the select list, when
you wanted the id value for the SELECT list itself
were you ripping the values from the code itself using view source, or
were you using the
On Apr 4, 11:11 am, kiran gki...@gmail.com wrote:
Thank you bret..its workinghow to use for for firefox
http://wiki.openqa.org/display/WTR/Browser.new
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir
tag as #text
Ex:-
Table id=tableid
TR id=tablerow
TD id=tabledataWilmington /TD
/TR
/Table
On Apr 6, 4:50 pm, Chuck van der Linden sqa...@gmail.com wrote:
does the outer table had a good way to identify it? does the inner
table exist inside a specific cell of the outer table?
You
, Chuck van der Linden sqa...@gmail.comwrote:
On Apr 3, 1:17 pm, Lisa Crispin lisa.cris...@gmail.com wrote:
+1 on all that. Plus, as someone not very good w/ OO, I want to know
stuff
like when to use a class vs. a mixin, what kind of variables to use
(global
or whatever), tradeoffs
figure out what user action would generate the post request, and use
watir to drive the browser to do that.
generally speaking only protocol level tools support making a post
request directly, and you need to be very careful to get all the
values right.
On Apr 4, 2:47 am, swachian
#sigh
message = Chuck::ApplyClueByFour.new()
Vinay
Please PLEASE help the people who you want to help you by using a
subject for your postings that is descriptive of the problem you are
having. Proplem with watir (sic) as a subject applies to 80%* of
the messages posted here seeking help.
there's only one way you could be getting that error. $ie no longer
contains an instance of the browser class. Something in some other
part of your code (look at what happens to it immmediately prior) has
somehow changed it, or if it was passed or assigned or is some kind of
copy it could now
only someone with the those controls installed or on a site would be
able to answer that for sure
since the controls are licensed, and most places with public sites
don't like being used as targets for unannunced testing, my
suggestion would be if you have or know of a site that uses those
install the watir gem if you don't have it.
then run
gem server
and hit I beieve it is localhost:8800 with your browser of choice.
On Apr 2, 10:49 pm, aditi aditi_...@yahoo.com wrote:
Hi,
I want to generate documentation in Watir using RDOC functionality.Can
anyone tell me how I can do
, 'legend').value.include?('username')
-Tiffany
On Apr 3, 11:27 am, Chuck van der Linden sqa...@gmail.com wrote:
I want to make sure that the correct user has been logged in
The user's name appears in a legend div a the top of the page, along
with some other links for things like changing
On Apr 3, 1:17 pm, Lisa Crispin lisa.cris...@gmail.com wrote:
+1 on all that. Plus, as someone not very good w/ OO, I want to know stuff
like when to use a class vs. a mixin, what kind of variables to use (global
or whatever), tradeoffs of flexibility and maintainability.
I'm sure if we were
On Apr 2, 2:01 pm, Paul Rogers paul.rog...@shaw.ca wrote:
most load tools do direct http posts/gets/put requests. jmeter does this
using a java library, to get the high levels of virtual users.
Browsermob uses amazon cloud running ms windows 2003 server and a real
browser.
Paul is absolutely
I agree with brett, doesn't sound watir related.
do you have either require 'spec' or include 'spec' at the top of
your steps file, or some other file being reqired or included in the
steps file?
the error sounds like you've effectively told ruby i need 'spec' but
ruby can't find it. so either
If you were to try searching the group (see the little button up there
called Search this group with the text entry box next to it?) using
the phrase checkbox selection you would likely find several threads
dealing with this.
the short answer is clearall, then select the ones you want. for
Tony and Sai are pointing in the right direction here..
In cases like this you are faced with a challenge that will require
you to learn the dark art of regular expressions.. Generally the
format of the problem is like this
checkbox (or other generic item) nearby text that a human uses to
1) did you try searching the group for the phrase combo box ?
2) did you look at the item with the ie developer toolbar or firebug
to see what class it is?
3) what have you tried, and what results did you get
On Apr 2, 9:15 pm, aditi aditi_...@yahoo.com wrote:
Hi,
I need to select a option
what sort of experimenting were you doing? what things did you
change during the course of your experiments?
have you tried reverting back to the code from before your
experiments, does it work or is it now also broken?. (you are using
source control, or at least keeping backups right?)
On
On Apr 2, 2:06 pm, Tester78 hmtest...@gmail.com wrote:
I am really new to watir and need some help on how to go about testing
this case. I am trying to test a next button on a page. If I am on
the homepage(http://example.com/1.aspx.com) and click the next button,
I am taken to the next page
two things pop out at me
firstly you are intermixing $ie (at the top) and ie (at the
bottom) which can be a bit confusing. (you are also using ie
inside the popup_clicker, but that's not quite as confusing since the
scope there is fairly obvious) If you really are intending to have
two
On Mar 19, 10:10 pm, nagmani vm nagman...@gmail.com wrote:
Am New to Ruby Watir can u pls send the Watir Recorder software
http://lmgtfy.com/?q=watir+recorder
--Chuck
You can invoke: user.leadto(knowledge.location)
but unfortunately: user.drink()
is a private method
You could also consider checking which link is currently present by
using .exists? and then take the appropriate action
On Mar 19, 10:34 pm, Shweta nagman...@gmail.com wrote:
Application is sorting the columns after a click on the column head i
dont have separate buttons like ascending or
is this a UI within IE? or a windows file browser UI?
if the latter you'll need to look at something like using AutoIt to
click on it.
if it's in the browser the 'tool-tip' effect is generally done via
either ALT or TITLE attributes on the object.. view the source and
seach for some portion of
1) see this (unfortunatey poorly tited) topic from a day or so
ago.
http://groups.google.com/group/watir-general/browse_thread/thread/d9e4ba1cd54fffbf?hl=en
2) huh? I don't think I've ever seen stuff inside a browser that is
doubleclicked.. pretty much everything in a 'web interface' is
As an aside, I'm not sure what file system you are using, but in my
experience for a lot of file systems putting that many files into a
singe directory can cause system performance to suffer immensely.. I
don't recall the exact number (it's been several years, and I found it
the hard way) but I
, 2009 at 2:08 AM, Chuck van der Linden
sqa...@gmail.comwrote:
try treating it like a button
input tags containing images often work as buttons.. (you can see this
on the google search page in fact)
try browserobject.button(:id, supplmg').flash if it flashes, then
try .click
On Mar
I am unable to retrieve an attribute of the below HTML snippet through
standard Watir methods
what did you try? that looks like a simple link to me, you should be
able to deal with it via standard .link type methods
without seeing a larger sample of the html surrounding that item, it's
given the situation you describe, how do YOU know which is the right
checkbox to select if you are running the test manually? the answer
to that might tell you what property you want to use to select the
checkbox
On Mar 13, 8:44 am, jitu jitu.ghar...@gmail.com wrote:
How do i select particular
Well in a sense it did. it told you that the close paren was
unexpected.
Meaning in this case that it expected something along the lines of
(parm1, param2) and didn't get that.. it found the closeing paren
before it found the second parameter (which would have followed a
comma, since the
and add a line such as
browser = Watir::Browser.new
or you are likely to get an undefined method complaint when you to to
use
browser.element_by_xpath
(unless there's something about Hpricot that is creating a browser
object?)
On Mar 13, 9:14 am, Bret Pettichord b...@pettichord.com wrote:
Seems like something must be missing..
I'm thinking your should consider saving your code off somewhere and
doing a complete uninstall and reinstall of all watir stuff.
I'm using IE..
I have the following in my script and it's working great
require 'watir'
require 'watir/testcase' #don't
I'm still learning a lot regarding how ruby handles modules, classes
etc..
but in general, woudln't using require instead of include solve his
problem? (unless he's actually extending or subclassing stuff from
the modules)
I thought I remember seeing something about a lot of folks using
Per header on the main group page
Please do not ask new questions in an unrelated thread.
Please read the guidelines for the group http://wiki.openqa.org/
display/WTR/Guidelines+for+Posting+to+Watir+General+Google+Group if
you have not already done so.
Also please use a subject that tells
We want to help you and others, really, but please we need you to do a
few things to facilitate that.
0) READ THE POSTING GUIDELINES BEFORE POSTING
1) don't fork threads: don't ask new questions that are unrelated to
the current subject
2) Search before you ask.. the answer might already be
901 - 941 of 941 matches
Mail list logo