[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Bissquitt
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 contLoop

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Charley Baker
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(

[wtr-general] Re: Selenium 2.0 plans to drive native browsers

2009-01-03 Thread Charley Baker
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

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Bissquitt
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 span tags? guess ill google it after this post)

[wtr-general] Re: Strategy Assistance - Frames, Divs, Spans

2009-01-03 Thread Charley Baker
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

[wtr-general] Re: Selenium 2.0 plans to drive native browsers

2009-01-03 Thread aidy lewis
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 explicitly

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Alex Collins
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

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Anna Gabutero
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 .span

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Charley Baker
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,

[wtr-general] Re: overriding javascript

2009-01-03 Thread Charley Baker
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

[wtr-general] Re: Frame, nested frame

2009-01-03 Thread Wilson Xu
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 ritu.sh...@gmail.com 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

[wtr-general] Re: Does Watir support

2009-01-03 Thread Chuck vdL
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 ALSO