4 messages in com.canoo.lists.webtestRe: [Webtest] Setting ThrowExceptionO...
FromSent OnAttachments
Noam Aigerman06 Jun 2008 12:18 
Lisa Crispin06 Jun 2008 13:01 
Soula, William06 Jun 2008 13:13 
Noam Aigerman06 Jun 2008 15:03 
Subject:Re: [Webtest] Setting ThrowExceptionOnScriptError globally
From:Lisa Crispin (lisa@gmail.com)
Date:06/06/2008 01:01:41 PM
List:com.canoo.lists.webtest

We put our config stuff in a separate file, and use !ENTITY to include it, but we are really old school WebTest, I haven't tried that macro thing that is available now. <!DOCTYPE project SYSTEM "file:../dtd/WebTest.dtd" [ <!ENTITY config SYSTEM "file:../modules/config.xml"> ... <project ... <target... <testSpec ... &config;

I'd actually like to be able to turn that option off only for certain tests, but not sure how to do that other than doing what you are doing.

-- Lisa

On Fri, Jun 6, 2008 at 1:19 PM, Noam Aigerman <noa@answers.com> wrote:

Hi,

How can I set a config setting for an entire project, instead for one wbtest at a time?

At the moment I'm doing something like:

<target name="wt.testInWork">

<webtest name="test1">

<config>

<option name="ThrowExceptionOnScriptError" value="false"/>

</config>

….the test itself

</webtest>

<webtest name="test2">

<config>

<option name="ThrowExceptionOnScriptError" value="false"/>

</config>

….the test itself

</webtest>

Etc…

</target>

How can I define the config only once?