Re: [Wtr-general] xpath support doesn't work for me

2006-02-27 Thread Brown, Christopher
Hi Angrez, This is is the code I'm trying to run require 'watir' ie = Watir::IE.start("http://dev/index.asp") ie.element_by_xpath("//[EMAIL PROTECTED]'top_menu_map']/area[6]/").click() I've tried various modifications to the XPath but what you see above is what I get from the XPath

[Wtr-general] HTML Page Size and Load times

2006-02-27 Thread Paul Carvalho
Hi there, I'm currently writing a script that will walk through our site map and spit out a list of page sizes and load times to a text file.Using the Watir examples I found a function that gets the html page and I guessed that you could get the length using: puts ie.html.lengthThis spits out a

Re: [Wtr-general] HTML Page Size and Load times

2006-02-27 Thread Michael Bolton
Incidentally, someone once mentioned to me that there is a down_load_time attribute, but I can't find any info on it anywhere. Is there a reference in the Watir API or elsewhere that can tell me what methods and attributes are available for working with the HTML pages?For load time try

Re: [Wtr-general] interesting behavior of require in my TestSuitetorun test cases in a sequential order...

2006-02-27 Thread Neri, Marco
I've been trying to get cruise control to work as per Yury's blog http://blogs.byte-force.com/buggins/archive/2005/11/29/704.aspx Based on the example in the blog I have a testsuite.rb with a straight copy / paste of Yury's code. # This part is all of old code to run tests. # (It just picks all

Re: [Wtr-general] thoughts on how to setup custom command line parameters?

2006-02-27 Thread Neri, Marco
Hi I'd like to be able to specify additional command line parameters. Eg url ( dev or sys test envs ), a directory to dump results to, a flag to close (or not) the browser at the finish of a test. What I'm using at the moment is ARGV[] Eg @test_site = ARGV[0] Problem with this is that the

Re: [Wtr-general] thoughts on how to setup custom command line parameters?

2006-02-27 Thread Jared Quinert
I think you can edit watir.rb to make the default state invisible. Would that help? You can then explicitly make it visible within your script if you need it to be. I know I've done this in the past. Jared Neri, Marco wrote: Hi I'd like to be able to specify additional command line