Hi All

I have the  following code snippet in jsp to verify using Webtest.Canoo.

<h2>Struts Examples with Code</h2>
<p>This is a collection of examples which demonstrate some of the more
frequently
  used Struts Tags. Familiarity with the Java(tm) Programming Language and
HTML
  is assumed. </p>
<p>To navigate your way through the examples, the following icons will
help: </p>
<table border="0" cellspacing="5" width="85%" >
  <tr valign="top">
    <td width="30"><img alt="" src="images/execute.gif" /></td>
    <td>Execute the example</td>
  </tr>

I had been trying to test using verifyText  but in vain.

        <verifyText description ="Struts Examples with Code"
         text="&lt;h2&gt;Struts Examples with Code&lt;/h2&gt;" />

         <verifyText description ="Struts Examples with Code"
         text="&lt;p&gt;This is a collection of examples which demonstrate
some of the more frequently" regex="true" />
         <!-- verifyText description ="Struts Examples with Code"
text="  used Struts Tags. Familiarity with the Java&lang;tm&rang;
Programming Language and HTML" regex="true" /-->
         <verifyText description ="Struts Examples with Code"
         text="  is assumed. &lt;/p&gt;" />
         <verifyText description ="Struts Examples with Code"
         text="Execute the example" />

Please note that the first verifyText tag executes successfully but it
fails in subsequent steps.

Please suggest me a better way to do....

Regards

Vikas Lall

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to