[Webtest] [webtest][JIRA] Closed: (WT-350) Use step nested text as equivalent for "most" significant attribute for nicer DSL in Groovy

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Wed, 14 Nov 2007 11:54:17 +0100 (CET)


     [ http://webtest-community.canoo.com/jira/browse/WT-350?page=all ]
     
Marc Guillemot closed WT-350:
-----------------------------

    Fix Version: future versions
     Resolution: Fixed

Implemented in build 1638.

> Use step nested text as equivalent for "most" significant attribute for nicer DSL in Groovy
> -------------------------------------------------------------------------------------------
>
>          Key: WT-350
>          URL: http://webtest-community.canoo.com/jira/browse/WT-350
>      Project: WebTest
>         Type: New Feature

>     Versions: 2.5
>     Reporter: Marc Guillemot
>     Assignee: Marc Guillemot
>      Fix For: future versions

>
> When writing tests in Groovy, it would be nicer when many steps accepts nested text for their "default value".
> Ex: 
> verifyTitle(text: "my page title") // currently 
> verifyTitle("my page title") // would be nice
> verifyTitle(regex: true, "my page.*title") // would be nice
> This could be used In XML format too but wouldn't be really useful as it required more text:
> <verifyTitle text="my page title"/>
> vs
> <verifyTitle>my page title</verifyTitle>
> This would be nice for many steps, In a first time this issue concerns:
>   Step                nested text equivalent
> clickButton          label
> clickLink              label
> followFrame         name
> invoke                 url (post content when url specified as attribute)
> selectForm          name
> verifyTitle            text
> verifyText            text
> verifyDocumentURL   text

-- 
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