I fully agree to the classification. I assume you have place in mind where these rules are violated, currently ?
cheers Mittie > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Marc Guillemot > Sent: Freitag, 24. Februar 2006 10:18 > To: [email protected] > Subject: [Webtest] [dev] StepFailedException versus > StepExecutionException > > > Hi, > > we currently throw StepFailedException or StepExecutionException > when a test > doesn't pass but I'm not sure to know exactly what we want to > differentiate with > these 2 exceptions or if we do it consistently. > > For me a StepFailedException should be reserved to cases like: > - verification steps: when the verification fails (this is what we do) > - action steps: when the action can't be done, for instance no > link can be found > in a clickLink (this is what we do too) > > All (?) other cases should use a StepExecution exception, for > instance when: > - the parameters of a step are incorrect (this is already what is done) > - a page request can't be executed correctly (ex: http error code > received, or a > socket timeout occurs, or a JS error occurs) => this is NOT what > we currently do. > > Any thoughts? > > Marc. > > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

