Re: [Wtr-general] Test suites in Watir problem

2006-11-06 Thread Ralica Nacheva
Thank you very much! :) I just tried your advice and it works fine. Thanks for your help :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5078messageID=14165#14165

[Wtr-general] same name of elements

2006-11-06 Thread Luke
I have a few elements with the same name on the web, I can't catch them just by index, is it possible to catch them somehow? like element.(:name, ). and then the index somehow? ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] invoking tests in right order

2006-11-06 Thread Ralica Nacheva
Hi all, I'm quite new to Ruby and Watir. I'd like to ask you where exactly to copy/paste the patch? I'm using Watir - v1.4 - should i rewrite the file: C:\ruby\lib\ruby\1.8\test\unit\testcase.rb or the file: C:\ruby\src\ruby-1.8.4\lib\test\unit\testcase.rb or maybe any other file? Thanx in

Re: [Wtr-general] same name of elements

2006-11-06 Thread Nathan
So if I understand what you're saying correctly, you mean to say for example that you have three links that all share the name property of link like this: code a href=#1 name=linkLink number 1/a a href=#2 name=linkLink number 2/a a href=#3 name=linkLink number 3/a /code and even though they all

Re: [Wtr-general] same name of elements

2006-11-06 Thread Bret Pettichord
Luke wrote: I have a few elements with the same name on the web, I can't catch them just by index, is it possible to catch them somehow? like element.(:name, ). and then the index somehow? In 1.5, this syntax works: ie.div(:name = 'foo', :index = 2).click This will find the second div

Re: [Wtr-general] invoking tests in right order

2006-11-06 Thread Bret Pettichord
Ralica Nacheva wrote: Hi all, I'm quite new to Ruby and Watir. I'd like to ask you where exactly to copy/paste the patch? I'm using Watir - v1.4 - should i rewrite the file: C:\ruby\lib\ruby\1.8\test\unit\testcase.rb or the file: C:\ruby\src\ruby-1.8.4\lib\test\unit\testcase.rb or maybe any

[Wtr-general] Watir Test Automation Position in San Jose

2006-11-06 Thread Bret Pettichord
Here is an interesting job posting I noticed. Bret *lead Test Automation Engineer * *LogLogic* is an established startup, funded by outstanding VCs, with a broad range of current customers and a growing market. We develop ultra-high-performance Log Management appliances on Linux platforms,

Re: [Wtr-general] Is there any way to get all the scr's of images?

2006-11-06 Thread Adam Reed
I'd use a simple ie-do loop: ie = Watir::IE.newie.set_fast_speedie.goto "www.google.com" ie.images.each do |image| images = {'path' = image.src} images.each do | ite, image | puts"#{ite}:#{image}" end end This should output:

Re: [Wtr-general] Recover from IE crash?

2006-11-06 Thread Nathan
Not sure if the IE Crash dialog is a child window of IE, but it's probable, and if it is, then you might be able to get it and control it. In my recent experience with our own website, we had one area that consistently caused IE to crash, but we thought it was our tool - commercial at the

Re: [Wtr-general] Recover from IE crash?

2006-11-06 Thread John Lolis
Thanks for the input. I was seeing the crash as a problem to get around, as opposed to a problem to investigate :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5069messageID=14195#14195

Re: [Wtr-general] Recover from IE crash?

2006-11-06 Thread Paul Rogers
I use a library that draws a treeview in javascript. This has also caused IE to crash. I think it is something to do with dynamic tables Paul - Original Message - From: Nathan [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Monday, November 06, 2006 12:25 PM Subject: Re:

Re: [Wtr-general] same name of elements

2006-11-06 Thread Luke
thanx a lot Bret, that's what I'm asking. I made mistake and misleadyouguys,sorry. I'm looking for linkby text notby name, but I suppose it doesn't matter and similarcodewillwork ie.link(:text = 'linktext',:index = 2).click am I right?Luke ___

Re: [Wtr-general] same name of elements

2006-11-06 Thread Bret Pettichord
Luke wrote: ie.link(:text = 'linktext',:index = 2).click am I right? Yes. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] QuickTest Pro vs Watir?

2006-11-06 Thread John Lolis
Looking for some experience from people that have used both. We are currently looking into both of these applications, and I'm wondering if anyone has any experience (that they care to share on the subject). Cost alone isn't that big of an issue. So its a point that doesn't need to be

Re: [Wtr-general] QuickTest Pro vs Watir?

2006-11-06 Thread Chris McMahon
On 11/6/06, John Lolis [EMAIL PROTECTED] wrote: Looking for some experience from people that have used both. We are currently looking into both of these applications, and I'm wondering if anyone has any experience (that they care to share on the subject). I don't know if it was WinRunner or QTP,

[Wtr-general] Why Open Source Test Tools?

2006-11-06 Thread Bret Pettichord
In her new/relocated blog, Elisabeth Hendrickson gives a convincing explanation for why open-source test tools are gaining in popularity.http://testobsessed.com/wordpress/?p=6 And then explains how to learn more about them.http://testobsessed.com/wordpress/?p=7