[Webtest] Ant's "equals" tag doesn't work
Noam Aigerman
Noam Aigerman <noama@answers.com>
Sun, 22 Jun 2008 12:26:05 +0300
So is there a workaround?
-----Original Message-----
From: webtest-admin@gate4.canoo.com
[mailto:webtest-admin@gate4.canoo.com] On Behalf Of Marc Guillemot
Sent: Sunday, June 22, 2008 12:19 PM
To: webtest@gate4.canoo.com
Subject: Re: [Webtest] Ant's "equals" tag doesn't work
Normal Ant tasks should work within WebTest... but here there is a
collision between Ant's <condition> task and the child of ifStep. The
name was a badly choiced. I think that this is the only case in WebTest.
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
Noam Aigerman wrote:
> I'm trying to use ant's "equals" class like so:
>
>
>
> <ifStep>
>
> <condition>
>
> <equals arg1="${Edit_Links_Title}" arg2="Accepted"/>
>
> </condition>
>
> <step>
>
> <verifyText text="${Input}" description='Make sure the
text "${Input}" appears'/>
>
> </step>
>
> </ifStep>
>
>
>
> But I get the exception:
>
>
>
> Caused by: C:\EditLinks\noam.xml:142: Problem: failed to create task
or type equals
>
> Cause: The name is undefined.
>
>
>
>
>
> Shouldn't all of ant's tags be available in webtest?
>
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest