VerifyTextarea should allow nested text for checking multiline values
---------------------------------------------------------------------
Key: WT-404
URL: http://webtest-community.canoo.com/jira/browse/WT-404
Project: WebTest
Type: New Feature
Versions: 2.5
Environment: WebTest r1685
Reporter: Roger Waldner
WebTests <verifyTextArea> step should allow to specify the text attribute as
nested text of the step. Then the verification of multiline text within a
textarea would be possible:
This does not work correctly (the newlines are being translated into blanks):
<verifyTextarea name="certificate" text=" -----BEGIN CERTIFICATE-----
MIIFETCCA/mgAwIBAgIBEjANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCQ0gx
DzANBgNVBAgTBlp1cmljaDEgMB4GCSqGSIb3DQEJARYRY2FAc2VjbHV0aW9ucy5j
...
-----END CERTIFICATE-----" />
Possible solution (similar to <setInputField>):
<verifyTextarea name="certificate">
-----BEGIN CERTIFICATE-----
MIIFETCCA/mgAwIBAgIBEjANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCQ0gx
DzANBgNVBAgTBlp1cmljaDEgMB4GCSqGSIb3DQEJARYRY2FAc2VjbHV0aW9ucy5j
...
-----END CERTIFICATE-----
</verifyTextarea>
--
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