Auto Basic Perm Check 13

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Basic Perm Check 13

resplin
Intermediate
0 0 872

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Test ScriptsBack to Auto Scripts




Permissions Tests


The test performs the following:





  • Imports an ACP package that contains a space structure containing all permission types
  • Validates that Admin can see all the permission spaces (including a Space with No Permissions)
  • Logs out Admin and Logs in as Test User
  • Validates that Test User can see all the permission spaces excluding the No Permissions space
    • if No Permissions space is detected then post a Fail
  • Navigate into each space and perform the following test
    • view the spaces details and look at the Actions available for the current level of Permissions
    • view the content items (within the space) details and look at the Actions available for the current level of Permissions
    • navigate back to the parent space ready to check the next space
  • Cleans up the test
    • Logs out Test User and logs back in as Admin
    • Deletes the Permission Spaces
    • Deletes the imported ACP







Automated Script


You can download the script for your own use from the Alfresco Forge.

http://forge.alfresco.com/projects/qtp/




Future Enhancements


Future enhancements include binding the Permission checks to a spreadsheet so that any changes in Permissions or Actions made to the client can be fed into updating a spreadsheet instead of changing the test's code.
Deeper probe into trying to perform actions that are not allowed by the tested Permissions level and checking for 'Permission Denied' messages.