[Webtest] [webtest][JIRA] Created: (WT-251) Enhance text verification possibilities

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Wed, 20 Dec 2006 13:18:57 +0100 (CET)


Enhance text verification possibilities
---------------------------------------

         Key: WT-251
         URL: http://webtest-community.canoo.com/jira/browse/WT-251
     Project: WebTest
        Type: New Feature

    Versions: 2.1    
    Reporter: Marc Guillemot
 Assigned to: Marc Guillemot 
     Fix For: future versions


There are currently 2 options for text verification:
- regex="false" (the default): performs a full text match
- regex="true": performs a regex text search (ie: it can be a substring)

This shows that at least 2 other possibilities are missing:
- full text substring
- regex match

WebTest should provide these 2 new possibilities in a flexible way allowing to configure own one when needed. The verification steps need to be extended to accept a new attribute, let say "mode" or "compare" allowing to specify one of following values "full" (default, would do the same as current regex="false"), "substring", "regex_match", "regex_find" (would do the same as regex="true"). Furthermore it should be possible to use "myVerification" if a custom myVerification verifyer has been registered previously.

Good ideas concerning the name of the new attribute as well as the names of the 4 standard possibilities are welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira