Create a folder Test Case

Steps to Create a folder

Required Test Cases (in order)

Main steps

  • Goto Content Management -> File Explorer
  • Select a drive to work ( In this case, select drive Collaboration Center)
  • Select View is Action
  • Select location to store folder
  • Click 'Add folder' icon in action bar -->Add folder pop up form appears
  • Select one of two folder types in list:
    • nt:unstructured
    • nt:folder
  • Input name of folder
  • Click Save button
  • New folder is added successfully.
Screenshot

folder.jpg

Other checks

  • Case 1: Test add folder type nt:ustructured on node root
    • In put:
      • Select node root
      • Perform add folder type nt:ustructured
    • Out put:
      • A folder type nt:unstructured is added
      • This folder is listed in tree node
  • Case 2: Test add folder type nt:folder on node root
    • In put:
      • Select node root
      • Perform add folder type nt:folder to that node
    • Out put:
      • A folder type nt:folder is added
      • This folder is listed in tree node
  • Case 3: Test add folder type nt:unstructured to nt:folder
    • In put:
      • Select nt:folder node
      • Add folder type nt:unstructured to nt:folder
    • Out put: You can not add folder type nt:unstructured to nt:folder
  • Case 4: Test add folder type nt:folder to nt:unstructured
    • In put:
      • Select nt:unstructured node
      • Add folder type nt:folder to nt:unstructured
    • Out put:
      • A folder type nt:folder is added
      • This folder is listed in tree node
  • Case 5: Test add folder when 'Name' field is blank
    • In put:
      • Select a node that you want to add new folder
      • Click 'Add Folder' icon -> 'Add a Folder' popup appears
      • Don't fill in 'Name' field
      • Click Save button
    • Output: Show message "The value of field 'Name' is null or empty"
  • Case 6: Test add folder when 'Name' field has some special characters
    • In put:
      • Select a node that you want to add new folder
      • Click 'Add Folder' icon -> 'Add a Folder' popup appears
      • Put some special characters in 'Name' field such as: @,$,#,%,&...
      • Click Save button
    • Output: Show message "There are some invalid characters in field 'Name'.Type another value, please "
  • Case 7: Test add folder type nt:unstructured to a document
    • Input:
      • Select a document which want to add folder
      • Perform add folder type nt:unstructured to that document
      • Click Enable like JCR structure icon
    • Output
      • A folder type nt:unstructured added to document
      • This folder is listed in tree document
    • Note: You can not add nt:unstructured to a document File Plan
  • Case 8: Test add folder type nt:folder to a document: File, Podcast, File Plan, Kofax
    • Input:
      • Select one of this template document that you want to add folder
      • Perform add folder type nt:folder to that document
      • Click Enable like JCR structure icon
    • Output
      • A folder type nt:folder added to document
      • This folder is listed in tree document
  • Case 9: Test add folder type nt:folder to a document: Article, Sample Node
    • Input:
      • Select one of this template document that you want to add folder
      • Perform add folder type nt:folder to that document
    • Output: Show message "Current node does not allow to add 'nt:folder' node type"
  • Case 10: Test add folder type nt:unstructed to node uploaded
    • Input:
      • Select a node which uploaded from your machine
      • Perform add folder type nt:unstructured to that node
      • Click Enable like JCR structure icon
    • Output
      • A folder type nt:unstructured added into node uploaded
      • This folder is listed in tree node
  • Case 11: Test add folder type nt:folder to node uploaded
    • Input:
      • Select a node which uploaded from machine
      • Perform add folder type nt:folder to that node
      • Click Enable like JCR structure icon
    • Output
      • A folder type nt:folder added into node uploaded
      • This folder is listed in tree node
  • Case 12: Add folder type nt:unstructed to node imported
    • Input
      • Select imported node to add folder type nt:unstructed
      • Perform add folder type nt:unstructured
      • Click Enable like JCR structure icon
    • Output
      • A folder type nt:unstructured added into node imported
      • This folder is listed in tree node
    • Note:
      • If imported file is folder type nt:folder, you can not add folder type nt:unstructured
      • If imported file is File Plan document, you can not add folder type nt:unstructured
  • Case 13: Add folder type nt:folder to node imported
    • Input
      • Select imported node to add folder type nt:folder
      • Perform add folder type nt:folder
    • Output:
      • A folder type nt:folder added into node imported
      • This folder is listed in tree node
    • Note: If imported file is document Article, Sample Node -> Show message "Current node does not allow to add 'nt:folder' node type"
  • Case 14: Add folder to a node is in versioning
    • Input
      • Select a node is in versioning to add folder
      • Perform add folder
    • Output
      • A folder is added into this node
  • Case 15: Add folder to a node is in 'Check in' status
    • Input
      • Select a node is in 'Check in' status to add folder
      • Perform add foder
    • Output: Show message "You must check out first"
  • Case 16: Add folder when user doesn't have add node right
    • Input
      • Select a node that user doesn't have add node right
      • Perform add folder
    • Output: Show message "You do not have permission to add new node"
  • Case 17: Add folder to a node is locked
    • Input
      • Login by user is not locker
      • Select a node is locked
      • Perform add folder
    • Output : Show message "The item path /… or upper level is locked "

Movie

Select the following link to see details in movie:

Related JIRA issues

Select the following link to see detail all problems with Create a folder function in Jira

http://jira.exoplatform.org/secure/IssueNavigator.jspa?reset=true&&pid=10004&query="Add+Folder"&summary=true&description=true&resolution=-1&resolution=1&version=10053&version=10055

Suggested Improvements

 
Navigation

Creator: minhnguyen on 2007/10/07 22:26
Copyright (c) 2000-2009. Allright reserved - eXo platform SAS
1.6.13286