I had a similar problem, not sure of the actual errors the initial
person was seeing, and solved it for the ones that I was getting by
doing something that maybe should not work but did. I put the
<dataDriven> outside the <webtest> as below. For the errors I was
getting, it allowed the tests to continue beyond the failures caught in
the <option> tags.
<dataDriven tableContainer="NoProxy_Domain_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>
It would be nice to see more <option> attributes that would also ignore
other types of Exceptions.
George
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Tuesday, April 22, 2008 7:04 AM
To: [email protected]
Subject: Re: [Webtest] Re: dataDriven problem
Hi,
> Thanks for the reply. In reply to the use of my company for future
> reference, I am more than happy to say that Canoo Webtest is now
> officially used for one of sub-divisions within News Corporation. It
is
> a great tool and much faster than HP Quick Test Professional that we
are
> also using at the moment.
nice to read. Thanks!
> However, it would be great if there is any future enhancement as
> described below:
>
> - dataDriven = Running all rows by rows eventhough there are failures
in
> one of the rows. I have tried the suggestion by putting
> haltonfailure=false, but still the whole test would fail if there is
a
> failure in one of the verification steps. Adding steps, ifStep,
> condition, else also did not do the trick. It would be fantastic if
> there are an option within dataDriven command for this purpose
If I correctly understand, you use dataDriven within a <webtest> and
want to accumulate the validation errors. This is not directly related
to dataDriver but this is a feature that is on my personal TODO list. I
can't promise when I find time for it.
> -dataDriven = It would be great if there is an option within
dataDriven,
> to start from a row e.g. start from row 8.
makes sense for me and would be easy to implement. Please open an issue
> - To add extra functionality so that it is possible to extract a value
> e.g text from the web page and output it into excel
I think that this is beyond the scope of a test tool... but I've already
done something similar for a client.
> - verifyText : To verify text that is located after or before specific
> characters/text. It is true that verifyXPath can be used to locate
> specific text in a specific location, however it looks like
verifyXPath
> cannot identify any text that is only displayed in the page source
e.g.
> text inside javascript, or simply meta keywords and meta description.
verifyText with regular expression?
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