Auto-tools/Projects/CrossWeave/Test Format/Passwords
From MozillaWiki
< Auto-tools | Projects | CrossWeave | Test Format
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