Depending on the nature of the failure a <config> such as the following
might help. There is also a chance to put an <ifStep> between the
<invoke> and the <verify...>. It does not take care of all failures but
worked for many of them.

    <dataDriven tableContainer="Pages.xls" >
      <webtest name="Test Getting http://${URL}"; >

        <config haltonerror='false' haltonfailure='false' >
          <option name='ThrowExceptionOnScriptError'       value='false'
/>
          <option name='ThrowExceptionOnFailingStatusCode' value='false'
/>
        </config>

          <invoke url="http://${URL}"; description="http://${URL}"; />
          <verifyTitle text="${TitleRegex}" regex='true' />

      </webtest>
    </dataDriven>

George
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Thursday, April 10, 2008 4:11 AM
To: [email protected]
Subject: Re: [Webtest] dataDriven problem

Tokutan wrote:
> Hi,
> 
> First of all , I would like to say that Canoo Webtest is a really
great
> tool for automated testing tool. I am currently working in a company
and
> all of my colleagues are impressed by this tool.

thanks!
Can I add your company to the perhaps-one-day-ready future page of
companies using WebTest?

> 
> I would like to say that data driven testing has been helping me a lot
> with my work as a web tester. I have downloaded the latest version of
> CAnoo webtest (Latest build: R_1693) and I am experiencing problem
with
> data driven from excel. It looks like when one of value in the row
> fails, any subsequent rows would fail as well.

this is definitely a bug.
Wait for build 1694, it should be fixed.

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to