[Webtest] need help with ifstep

Alvin Lo webtest@lists.canoo.com
Sat, 06 May 2006 01:57:18 +0000


I am kind of confused how to use ifStep, what is the next condition? Is this 
ant's condition?
I have this:
        <ifStep>
          <conidtion>
              <verifyText text="Resource List"/>
          </condition>

And got this exception: (using WebTest_1252)
ResourceScenario.xml:64: Class org.apache.tools.ant.taskdefs.ConditionTask 
doesn't support the nested "verifyXPath" element.

What did I do wrong?

Second question
There is a test attribute for ifStep, what kind of expression is it expect? 
Is it have to be xpath?

thx
alvin