Auto-tools/Projects/CrossWeave/Test Format/Passwords: Difference between revisions
< Auto-tools | Projects | CrossWeave | Test Format
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
== Example == | == Example == | ||
For a full example, see the [http://hg.mozilla.org/automation/crossweave/file/ | For a full example, see the [http://hg.mozilla.org/automation/crossweave/file/df8a4801ced4/unittests/passwords.test CrossWeave password unit test] |
Latest revision as of 00:49, 25 June 2010
Test Format
A password asset list is an array of objects, each representing a stored password. For example:
password-list: * hostname: http://www.example.com submitURL: http://login.example.com username: joe password: zippity-do-dah usernameField: uname passwordField: pword * hostname: http://www.example.com realm: login username: joe password: secretlogin
Each object has the following properties:
- hostname: the hostname for the password. Required.
- submitURL: the submit URL for the password. Optional. Used for passwords in form fields.
- realm: the http realm for the password. Optional. Used for http authentication passwords.
- username: required.
- password: required.
- usernameField: the username field for a form password. Optional.
- passwordField: the password field for a form password. Optional.
- changes: an object containing any of the above properties, which are applied during a modify action. Optional.
Example
For a full example, see the CrossWeave password unit test