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
 Assigned to: Marc Guillemot 


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

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to