Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Test ScriptsBack to Auto Scripts
Simple Verification Tests
The test performs the following:
- Calls Login as Admin action (default setup test for all tests)
- Calls Create TestUser action (default setup test for all tests where a non-admin user is required)
- Logs in as newly created Test user
- Creates a new Space within the users home space
- Uploads some HTML content (and checks the filename and mime type are set correctly)
- Checks that the content is set to be inline-editable (the default for HTML)
- Once the content is imported, views text of the file to ensure it is correct
- Views the content's details
- Checks that the version history has not been enabled
- Checks the file out
- validates that a Working Copy has been created
- Modifies the content of the Working Copy
- Saves the changes
- Checks the file back in
- Validates that the Working Copy has been removed
- Views the content's details
- Checks that there is no version history (because the version history has not been enabled)
- Clicks the 'Allow Versioning' link to enable versioning for the document
- Checks that an initial Version has been created
- Checks the file out
- validates that a Working Copy has been created
- Modifies the content of the Working Copy
- Saves the changes
- Checks the file back in (including adding a note to the version)
- Views the content's details
- Checks that there is a new version that includes the note
- Closes the content details screen
- Calls the Cleanup action (default cleanup test for all tests)
Automated Script
You can download the script for your own use from the Alfresco Forge.
http://forge.alfresco.com/projects/qtp/
Future Enhancements
These include updating the script with some more simple checks of the basic core functionality.