Re: [wtr-general] Watir script compartmentalization

2011-09-29 Thread Dmitriy Korobskiy
On 9/28/11 10:47 PM, George wrote: Hello, I was curious to know how granular folks are making their Watir scripts. As an example, I have an authentication script that contains three parts: 1. Checking the elements of the login page 2. Performing valid logins and validating the output 3. Performi

Re: [wtr-general] Watir script compartmentalization

2011-09-29 Thread Željko Filipin
On Wed, Sep 28, 2011 at 9:47 PM, George wrote: > Currently, all three parts are in one script. I'm wondering if I > should separate each of these into its own script. Can you share the code? Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posti

Re: [wtr-general] Watir script compartmentalization

2011-09-28 Thread Michael
I use MiniTest to drive my tests, so in my case they'd all go in one file as 3 separate tests in there. That way each can fail individually andbe reported in a nice summary. -- Sent from my Android. George wrote: Hello, I was curious to know how granular folks are making their Watir scripts. A

[wtr-general] Watir script compartmentalization

2011-09-28 Thread George
Hello, I was curious to know how granular folks are making their Watir scripts. As an example, I have an authentication script that contains three parts: 1. Checking the elements of the login page 2. Performing valid logins and validating the output 3. Performing invalid logins and validating the