Hi Linda,

One possible way is to include your verification step in ifStep. IfStep works 
similar to if-else construct of any programming language. So if your 
verification step fails then instead of terminating your program, it will go 
into else part where you can add your failure to some string which in the end 
will return you all the controls/text which failed.

I hope I answered your question correctly.

Thanks & Regards,

Rinkesh Bansal | Team Lead - Atroad Automation | Persistent Systems Ltd
[email protected]  | Cell: +91 93261 76376 | Tel: +91 (20) 3023 
6792
Innovation in software product design, development and delivery- 
www.persistentsys.com

Message: 2
Date: Thu, 23 Apr 2009 21:24:03 -0400
From: Linda de Boer <[email protected]>
To: [email protected]
Subject: [Webtest] RE: Continuing tests after a step failure
Reply-To: [email protected]
Reply-To: Linda de Boer <[email protected]>

G'day

I found that using the "haltonfailure" config option, that I still could
not get the test to continue to the next step.

  According to the documentation "Even when set to "false" all of the
trailing <step>s of the current <webtest> will be skipped but processing
will continue with the next <webtest>.". If I understand this and all
the other threads I've read today, I need to start a new "<webtest>" for
the next test step. If this is so, then I need a new invoke. This has
also been noted by another fellow in one of the threads, but I can't
find it again.

I am thinking that I have misunderstood something because this is a very
well organized package. I figure I've got to have missed something. Is
there a way around this that I have not found?

What I am currently doing is just testing menu buttons and verifying
pages. A simple starter. But I'd like a full report of all the buttons,
pass or fail, all at once. Not one or two at a time depending upon when
it failed. Am I trying to do something that I should not?

Thanks much......;-)

--
ldb


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to