Granted I am new to Watir and ruby in general but I do have a
background of programming. My brief experience has been that watir and
ruby are awesome but VERY poorly documented, which is odd concidering
the massive amount of web pages dedicated to it.
anyway, here is the issue I am having.
I am
forgot to include the code I have thus far. (currently not working do
to the Hpricot portion)
excel = WIN32OLE.new("excel.application")
excel.visible = true
workbook = excel.workbooks.open('E:\books\spring 09 classes.xls')
worksheet=workbook.worksheets(1)
contLoop = true
row = 1
while contLoo
On Jan 2, 5:20 pm, Alister Scott wrote:
> I noticed that Selenium 2.0 plans to include integration of WebDriver
> to focus on driving native browsers.
> http://blog.browsermob.com/2009/01/plans-for-selenium-in-2009/http://code.google.com/p/webdriver/1
> Sounds a bit like Watir to me.
Delurking
Hi there,
I'm not sure what you mean by Ruby and Watir being poorly documented. For
Ruby, the first edition of the Pickaxe book which is comprehensive is free
and available online. There are dozens of other tutorials, sites and blogs
about Ruby. Watir also has a lot of examples, a tutorial(
http:
Funny you should mention it. I've recently taken a brief look at WebDriver -
specifically the Firefox extension and feel like it'd be a good idea to
ditch JSSH with all of it's complications and compilations :) in favor of
their extension. There are several benefits IMO to using it: - JSSH
require
Regarding documentation, I read the Tutorial all the way through but
it only hit on a few specific examples leaving out other commands all
together. I've visited MANY ruby and watir sites and never once saw
the .span command (does it just search for tags? guess ill
google it after this post) I ne
Hey Carl,
In finding elements, my method is to use the least specific, unique
identifier. That is to say, while you could specify the entire nested DOM
structure to the element you want - browser.frame.frame.table.div.div.etc -
it's tedious and not necessary. You do have to specify frames, but n
Chris wrote
> but I would not be surprised in the coming years to see Selenium and Watir
> growing closer together.
I am not so sure these worlds will collide, however we can learn and
borrow off each other.
Selenium and WebDriver are primarily Java apps, the family of Watir
tools are explicitl
Michael,
A fairly rapid reply, so my apologies if it sounds a little terse. A
clearer, succinct email would be helpful, rather than unduly
elaborating on your difficulties finding things.
My immediate thought is that you are trying to run before you have
learnt to walk.
I would:
- Learn th
Hi Michael,
On Sat, Jan 03, 2009 at 10:31:38AM -0800, Bissquitt wrote:
>
> Regarding documentation, I read the Tutorial all the way through but
> it only hit on a few specific examples leaving out other commands all
> together. I've visited MANY ruby and watir sites and never once saw
> the .spa
It can be a bit overwhelming to learn Ruby and various libraries at the same
time. I'd recommend taking a look at the Pickaxe book:
http://whytheluckystiff.net/ruby/pickaxe/ just to get some general
familiarity. There are other Ruby tutorials online as well as some good
books - The Ruby Way, Ever
Hi,
I am trying to override js to bypass a js dialog:
This is what I have got:
require 'watir'
ie = Watir::IE.new
ie.goto("http://www.w3schools.com/JS/tryit.asp?filename=tryjs_confirm";)
#ie.frame(:name, "view").button(:value, "Display a confirm box").click
ie.document.body.parentElement.execS
Execscript exists on the window object, drop the body call from your code
and it should work:
http://msdn.microsoft.com/en-us/library/ms536420(VS.85).aspx
Charley Baker
blog: http://charleybakersblog.blogspot.com/
Project Manager, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On
Hi Charley,
Thanks for the advice but I am stilling having trouble overriding the js script.
require 'watir'
ie = Watir::IE.new
ie.goto("http://www.w3schools.com/JS/tryit.asp?filename=tryjs_confirm";)
ie.document.parentWindow.execScript("'disp_confirm=function{return
true;}', 'JavaScript'")
ie.
Please ignore 'iframe' element in your script code, you can try it again and
can you post your html source code.
Wilson
On Wed, Dec 31, 2008 at 6:35 PM, rr wrote:
>
> Hi all,
> I want to know how to write script for nested frame. I want to click
> on object which is a link and it is in nested fr
>>5.Can be used for Load Testing?
ok I'm gonna get up on a soapbox for a moment.
THIS is a bogus requirement. If you want to say "simple" or
"rudimentary" loadtesting then I can accept it, but ANY tool maker
that claims their tool is good for both functional testing at the UI
level, and can AL
16 matches
Mail list logo