[Wtr-general] Volume Testing

2006-03-02 Thread Chintakrindi Meghanath
Hi We have an web application and we are planning for the volume testing.(Processing large volumes of the transactions). Can anyone give explain, how to do proceed with that type of testing using the watir. Thanks Meghanath ___ Wtr-general

[Wtr-general] Older scripts running really slow...

2006-03-02 Thread Cain, Mark
I have some Watir script I wrote about 6 months ago and needed to do some regression testing using these scripts. Well when I began running them they were really slow! Where it used to take 15 to 20 seconds to fill out the page form now is taking 3 to 4 minutes. I have recently upgraded my

Re: [Wtr-general] Older scripts running really slow...

2006-03-02 Thread Bret Pettichord
Could you please do an apples to apples comparison running your scripts with different versions of Watir against the same version of your application. It's possible an application change triggered the performance problem. Let us know the results. It would also be nice if you could share the Watir

[Wtr-general] Need advice for splitting large scripts into smaller ones

2006-03-02 Thread Paul Carvalho
I have this one script that I'm working on that is just getting bigger as I go along. I would like to break out some of the smaller chunks/tests into separate script files, but I'm not sure of the logistics of this. I tried looking at the unittests but I couldn't answer my questions by looking at

Re: [Wtr-general] Older scripts running really slow...

2006-03-02 Thread Cain, Mark
With Watir 1.4.1 (just downloaded and reinstalled) it took: Finished in 31.797 seconds. With Watir from current SVN (did a checkout on the http://svn.openqa.org/svn/watir/trunk/watir) Finished in 179.047 seconds. This is the part that ran:

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

2006-03-02 Thread Brown, Christopher
Hi Angrez, Using firefox, I've gone to the URL below http://rubyforge.org/cgi-bin/viewcvs.cgi/*checkout*/watir/watir/rexml/element.rb?root=wtrrev=1.1 then selected Save Page As ... then browsed to C:\ruby\lib\ruby\1.8\rexml I got prompted to confirm I want to over-write; I selected

Re: [Wtr-general] Older scripts running really slow...

2006-03-02 Thread Michael Bolton
Obvious possibilities are - response time on the Web pages - typing speed in the forms Are your pages visible? Do they look slower? When they're loading? When they're typing? If you've got one test that takes half a minute and another that takes three minutes (which you do), the places

Re: [Wtr-general] Need advice for splitting large scripts into sm aller ones

2006-03-02 Thread Sean Gallagher
Paul, Here is how I am doing it. I run my tests using test::unit, the same as you. I have organized my tests into logical groups of test methods, each contained in its own test file. The framework is flexible and supports running tests as 1) a single test method, 2) a test file (all test methods

Re: [Wtr-general] Need advice for splitting large scripts into sm aller ones

2006-03-02 Thread Paul Carvalho
Wow. Thanks very much for the detailed reply. You've given me a lot to work with. When I'm finished writing the scripts I'll try breaking them up in a way similar to how you've described it.Cheers! Paul. On 02/03/06, Sean Gallagher [EMAIL PROTECTED] wrote: Paul,Here is how I am doing it.

[Wtr-general] Unknown OLE server: `AutoItX3.Control' (WI2OLERuntimeError)! Why?

2006-03-02 Thread Paatsch, Bernd
Title: Unknown OLE server: `AutoItX3.Control' (WI2OLERuntimeError)! Why? Hello, Strange how Murphy's law always catches you by surprise during demonstrations. My code worked just fine on my machine. However creates an error message when I try to run it on my managers machine with following

Re: [Wtr-general] Unknown OLE server: `AutoItX3.Control' (WI2OLERuntimeError)! Why?

2006-03-02 Thread Bill Agee
On 3/2/06, Paatsch, Bernd [EMAIL PROTECTED] wrote: :/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1311:in `initialize': Unknown OLE server: `AutoItX3.Control' (WI2OLERuntimeError) Maybe AutoItX.dll didn't get registered on his machine during the Watir install? I've never had to

Re: [Wtr-general] Older scripts running really slow...

2006-03-02 Thread Cain, Mark
I ran the same test on the same web form using two different versions of Watir. The results are listed below. The web pages load as fast as they did before the problem is when the script inputs the data. In 1.4.1 the data is typed and the navigation between input fields is very quickly,

Re: [Wtr-general] Older scripts running really slow...

2006-03-02 Thread Bret Pettichord
Thanks for the detailed report. The watir code has several delay settings that apply separately between keys on text_field.set and between separate calls. These settings are tweaked by the fast_mode switches as well as other settings. You can probably tweak these settings yourself and get better

Re: [Wtr-general] Need advice for splitting large scripts into smaller ones

2006-03-02 Thread Bret Pettichord
Very briefly, there are two things you can do to split your code into separate files.1. Put your test methods in separate files.2. Put your custom methods in separate files.And then after doing this, you have to be able to put it all together again. You can put test methods in different classes

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

2006-03-02 Thread Angrez Singh
Hi Chris, What version of Ruby are you running?I am using Ruby 1.8.2 and latest watir tar ball. Also REXML version is 3.1.2.1. You can check this by using following command: ruby -vrrexml/rexml -e 'p REXML::Version, PLATFORM'But still I have no clue of what is going wrong?Regards,Angrez

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

2006-03-02 Thread Bret Pettichord
On 3/2/06, Angrez Singh [EMAIL PROTECTED] wrote: One thing I noticed is that when you install 'watir' using 'watir_installer.exe' located in 'installer' folder it install wrong version of 'watir.rb' file. Its installs 'Watir 1.4.1' which doesn't contain xpath support. I think you should use

[Wtr-general] How to start more Tests

2006-03-02 Thread Benjamin Hemken
Title: How to start more Tests Hello, at the moment we are working on a test framework, which helps us to write tests easily. We have a login and user administration. But we noticed that there are problems, when 2 user want to start a test. The first tests just stops. Both tests where

Re: [Wtr-general] How to start more Tests

2006-03-02 Thread Bret Pettichord
On 3/3/06, Benjamin Hemken [EMAIL PROTECTED] wrote: Hello, at the moment we are working on a test framework, which helps us to write tests easily. We have a login and user administration. But we noticed that there are problems, when 2 user want to start a test. The first tests just