Auto Basic Func Check 14
From AlfrescoWiki
Back to Auto Scripts
Contents |
[edit] Simple Verification Tests
These tests have been updated so they run on Alfresco 1.4, and are not backwards compatible.
[edit] Summary
These tests check the basic functionality found within Alfresco
[edit] Description
The test performs the following:
- Calls Login as Admin action (default setup test for all tests)
- See http://wiki.alfresco.com/wiki/Auto_Reusable_Actions_13#LoginAsAdmin
- Checks whether connected as Guest or cookie remembers last logged in user
- Has check for disabled cookies
- Calls Create TestUser action (default setup test for all tests where a non-admin user is required)
- See http://wiki.alfresco.com/wiki/Auto_Reusable_Actions_13#CreateTestUser
- Creates a Test User
- 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)
- See http://wiki.alfresco.com/wiki/Auto_Reusable_Actions_13#Cleanup
- Deletes the Test User
- Deletes the Test User's home space
[edit] Automated Script
You can download the script for your own use from the Alfresco Forge.
http://forge.alfresco.com/projects/qtp/
[edit] Future Enhancements
These include updating the script with some more simple checks of the basic core functionality.

