Bissquitt,
Thank you for poking the proverbial 'beehive'. I am a Watir/Ruby
newbie too.
I've posted some really basic questions here questions on this group
as well.
My background is mainly in hardware test automation, BASIC, and VB
Script.
Kudos to all the responses to this post. I too am trying
thank you very much, you are awesome
On Jan 9, 4:04 pm, "Charley Baker" wrote:
> if (browser.span(:id, Regexp.new("rptCourses_ctl00_rptItems_ctl" + numstring
> +"_lblItemTxtTitle")).exists?)
>
> otherwise calling text will throw an exception trying to locate the element.
>
> -c
>
>
>
> On Fri, J
if (browser.span(:id, Regexp.new("rptCourses_ctl00_rptItems_ctl" + numstring
+"_lblItemTxtTitle")).exists?)
otherwise calling text will throw an exception trying to locate the element.
-c
On Fri, Jan 9, 2009 at 10:38 AM, Bissquitt wrote:
>
> anyone have any idea why this isnt working? (or sh
anyone have any idea why this isnt working? (or should I be making a
new topic for this?)
for x in 0..2 do
for y in 0..9 do
numstring = x.to_s + y.to_s
puts numstring
if (browser.span(:id, Regexp.new
("rptCourses_
ok thank you all so much. I got the majority of the code working. This
is what I have so far.
while contLoop do colVal = worksheet.Cells(row, 'a').Value
if (colVal) then
browser.goto("http://bookstore.umbc.edu/SelectCourses.aspx?
src=2&type=2&stoid=9&trm=Spring%2009&cid=" + colVal
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 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
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
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
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:
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
11 matches
Mail list logo