Manage Repository Test Cases

Required Test Cases

Main steps

  • Go to Content Administration -> ECM Administration

Add new Repository

  • Click on 'Add Repository' icon -> Repository form appears
  • Enter properties on this form
  • Click on Add Workspace button-> Workspace Wizard Form appears
  • At step1:
    • Input workspace's name
    • Select 'Root node type' from list (nt:unstructured or nt:folder)
    • Check/Uncheck 'Set as default' check box if you want this workspace to be default or not
    • 'Auto init permission' is used to set permission for root node
      • Add new permission by clicking 'AddPermission' icon --> select group and membership and then check on the right you want to assign.
      • Delete current permission by clicking 'Delete' icon and then click OK to confirm deleting
      • Edit current permission by clicking on the permission and then make changes
  • Move step by step and input required fields
  • At step3: click Finish
  • Click on Add Workspace button again when you want to add more workspaces
  • Click on Save button
  • New repository is created and is listed in Repository list

Edit Repository

(This function is used to add more workspaces for repository only)

  • Select a repository to edit
  • Click on 'Edit Repository' icon -> Repository Form appears.
  • Click on Add workspace button to add new workspace for this repository or click on 'Delete' icon to delete workspace

Delete Repository

  • Select repository to delete
  • Click on 'Remove Repository' icon-> Repository List pop-up appears
  • Select repository and click on 'Delete' icon
  • Click OK to confirm deleting or click Cancel to quit that action.
Screenshot

repo.jpg

Other checks

  • Case 1:

o Input: Do not input data in 'Name' field when add new repository

o Output: Show message: " The field "name" is required"

  • Case 2:

o Input: Add new repository when 'name' field has some special characters like:@,#,$,%,^,&,(....

o Output: Show message: " There are some invalid characters in name!"

  • Case 3:
    • Description: Delete repository when it is default

o Input:

  • Click 'Remove Repository' icon to show repositories list
  • Click 'Delete' icon in the row of default repository ('Repository' is set default)
o Output: A message appears to show that can not delete this repository

  • Case 4:
    • Description: Delete repository when it is in use
    • Input:
      • Select 1 repository from current repositories list (after create some repositories ) or select and then re-select another
      • Click 'Remove Repository' icon
      • Click 'Delete' icon in the row of selecting repository (or repository that was selected before)
    • Output:
      • A message appears to show that can not delete this repository (it is in use)
      • User have to logout and login again to kill the session. After login again, user can delete successful

  • Case 5

o Input: Do not input data in 'Name' field when add new workspace

o Output: Show message:" Workspace name is required "

  • Case 6:

o Input: Add new workspace when 'Name' field has some special characters like: @,#,$,%,^,&...

o Output: Show message: " There are some invalid characters in field 'name'. Type another value, please "

  • Case 7:

o Input: Delete workspace when workspace is default.

o Output: A message appears to show that can not delete this workspace

  • Case 8:

o Input: Do not set as default any workspace when create new repository

o Output: Show message: " You must set workspace default one"

  • Case 9:

o Input: Do not set permission for workspace

o Output: Show message: " You must select permission"

  • Case 10:

o Input: 'Lock timeout' field is blank

o Output: Show message: " The field "setLockTimeOut" is required"

  • Case 11:

o Input: Fill invalid value in Lock timeout field likes: dlajgfldsaljf (not numeric format)

o Output: Show message: " Invalid number format in setLockTimeOut field."

  • Case 12:
    • Description: Add workspaces with multiple types (mixing multi and single) for repository
    • Input:
      • Click icon to add new repository
      • Input repository name
      • Click button Add workspace
      • At step1: fill required fields,
      • At step2: check 'Is multi' check box
      • At step3: Click Finish --> Finish add 1 new workspace
      • Continue to add another workspace
      • At step2: do not check 'Is multi' check box
      • Move to step3: click Finish
    • Output:
      • User can not add the second workspace successfully.
      • There is a message to show that all workspaces of each repository must be multi or single, do not allow multiple types workspaces.

Movie

Select the following link to see details in movie:

https://forge.objectweb.org/project/download.php?group_id=151&file_id=9098

Related JIRA issues

http://jira.exoplatform.org/secure/IssueNavigator.jspa?reset=true&&pid=10004&query=repository&summary=true&description=true

Suggested Improvements

 
Navigation

Creator: minhnguyen on 2007/10/01 21:48
Copyright (c) 2000-2009. Allright reserved - eXo platform SAS
1.6.13286