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

____________________________________________

____________________________________________


                                                                           
             webtest-requ...@l                                             
             ists.canoo.com                                                
             Sent by:                                                   To 
             webtest-ad...@lis         [email protected]                  
             ts.canoo.com                                               cc 
                                                                           
                                                                   Subject 
             01/05/2009 05:45          Welcome to the "WebTest" mailing    
             PM                        list (Digest mode)                  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Welcome to the [email protected] mailing list!

To post to this list, send your email to:

  [email protected]

General information about the mailing list is at:

  http://lists.canoo.com/mailman/listinfo/webtest

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.canoo.com/mailman/options/webtest/vikas.lall%40tcs.com

You can also make such adjustments via email by sending a message to:

  [email protected]

with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe.  It is:

  vikas_lall

If you forget your password, don't worry, you will receive a monthly
reminder telling you what all your lists.canoo.com mailing list
passwords are, and how to unsubscribe or change your options.  There
is also a button on your options page that will email your current
password to you.

You may also have your password mailed to you automatically off of the
Web page noted above.

ForwardSourceID:NT0000215E

=====-----=====-----=====
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
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to