Hey all,

 

I am trying to nest a verify statement within <condition> tags.  Here is my code:

 

<repeat description="Repeat: For Every Page of Auths." count="100">

 

      <storeProperty name="linkFound" value="false" />

 

      <ifStep description="IfStep: If Link is on page, set to true" test="#{linkFound}">

            <condition>

                  <verifyText description="verifyXPath: Remove Document Link" text=”#{documentName}” />

            </condition>

            <storeProperty name="linkFound" value="true" />

      </ifStep>

 

      <ifStep description="IfStep: Unless Link is on page, click Next 25" unless="#{linkFound}">

            <clickLink description="clickLink: Next 25" label="Next 25" />

      </ifStep>

     

</repeat>

 

However, I keep getting an error telling me that:  Class org.apache.tools.ant.taskdefs.ConditionTask doesn’t support the nested “verifyText” element.

 

Any suggestions??

 

Thanks for your help,

 

Mark

This e-mail and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify me at (703)288-5300 and permanently delete the original copy and any copy of any e-mail, and any printout thereof.

Reply via email to