cancel
Showing results for 
Search instead for 
Did you mean: 
resplin
Elite Collaborator
Elite Collaborator

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:





  • 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







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.