[Webtest] [webtest][JIRA] Created: (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
Tue, 13 Nov 2007 13:34:13 +0100 (CET)
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