Re: [Wtr-general] Help : new to Watir

2005-08-29 Thread Bret Pettichord
You can run watir with the -b switch to make it faster. We are also working 
on other methods to improve performance.


But 200 sessions is a lot for watir. Most boxes cannot support that many 
instances of IE, whether you are using watir or just creating IE sessions 
manually.


So i agree with Jeff.

At 03:14 PM 8/26/2005, Jeff Wood wrote:

It sounds like you are doing load testing which is not what I think
WATiR is intended for.

WATiR is meant for functional/procedural testing.

If you are simply wanting to load/perf-test large quantities of
simultaneous sessions on the system ... That would possibly be better
suited for simple HTTP calls directly... ( like using uri-open or wget
and/or curl )

That's my $0.02 ... YMMV

j.

On 8/26/05, Murtaza Lokhandwala [EMAIL PROTECTED] wrote:
 Hi Everybody,

 I started using WATIR to write my first web
 application test script two ago.

 -- The web page I am testing has approximately 6 input
 boxes and 7 drop down boxes for each record. And I am
 displaying 10 records per page. To view more user have
 to use 'Next ' or ' Previous' buttons.

 I started with hard coded values to have a feel of
 WATIR. The script is working but I was planning to use
 it to load the web server / database by creating 200
 sessions. And each session creating 1 form having
 approx 50 transactions.

 Using the script I created couple of forms but each
 form is taking approximately 12-14 min for 20
 transactions.

 I am attaching the script for the review. Please help
 me me in making the script more efficient. Because the
 test case I am handling needs 200 such sessions.

 Thank you very much.

 Murtaza



 __
 Yahoo! Mail for Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.
 http://mobile.yahoo.com/learn/mail

 ___
 Wtr-general mailing list
 Wtr-general@rubyforge.org
 http://rubyforge.org/mailman/listinfo/wtr-general






--
So long, and thanks for all the fish

Jeff Wood

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Help : new to Watir

2005-08-26 Thread Jeff Wood
It sounds like you are doing load testing which is not what I think
WATiR is intended for.

WATiR is meant for functional/procedural testing.

If you are simply wanting to load/perf-test large quantities of
simultaneous sessions on the system ... That would possibly be better
suited for simple HTTP calls directly... ( like using uri-open or wget
and/or curl )

That's my $0.02 ... YMMV

j.

On 8/26/05, Murtaza Lokhandwala [EMAIL PROTECTED] wrote:
 Hi Everybody,
 
 I started using WATIR to write my first web
 application test script two ago.
 
 -- The web page I am testing has approximately 6 input
 boxes and 7 drop down boxes for each record. And I am
 displaying 10 records per page. To view more user have
 to use 'Next ' or ' Previous' buttons.
 
 I started with hard coded values to have a feel of
 WATIR. The script is working but I was planning to use
 it to load the web server / database by creating 200
 sessions. And each session creating 1 form having
 approx 50 transactions.
 
 Using the script I created couple of forms but each
 form is taking approximately 12-14 min for 20
 transactions.
 
 I am attaching the script for the review. Please help
 me me in making the script more efficient. Because the
 test case I am handling needs 200 such sessions.
 
 Thank you very much.
 
 Murtaza
 
 
 
 __
 Yahoo! Mail for Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.
 http://mobile.yahoo.com/learn/mail
 
 ___
 Wtr-general mailing list
 Wtr-general@rubyforge.org
 http://rubyforge.org/mailman/listinfo/wtr-general
 
 
 
 


-- 
So long, and thanks for all the fish

Jeff Wood

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general