Manage Template Test Cases

Required Test Cases (in order)

Main steps

  • Go to Content Administration ->ECM Administration-> Content Presentation->Manage Template

Add new template

  • Click on Add button -> Add new template pop-up appears
  • Tab Template
    • Select a node type from 'Name' field.
    • Fill data in 'Label' field
    • Check/uncheck is Document Template if this template is for document or not.
    • Click 'AddPermission' icon
    • Select group and membership from list that you want to share this template for.
  • Tab Dialog
    • Put value into 'Dialog content'
  • Tab View
    • Put value into 'View content'
  • Click Save button

Edit a template

  • Select a template from list that you want to edit
  • Click on 'Edit' icon -> View&Edit pop-up appears.
    • Tab Template: can edit 'Label' only.
    • Tab Dialog:
      • Existing Dialogs:
        • Edit:
          • Click 'Edit' icon in the row of dialog you want to edit
          • Make changes with 'Content' or Permission
          • Click Save
        • Delete:
          • Click 'Delete' icon' in the row of dialog you want to delete
          • Click OK to confirm or Cancel to quit delete action
      • Add new Dialog
        • Fill value in 'Content' field
        • Put dialog's name
        • Select permission
        • Click Save
    • Tab View: Do the same in Dialog tab.
  • Click save button

Delete a template

  • Select a template that you want to delete
  • Click on Delete icon
  • Click OK in confirm message
  • Selected template is deleted from list.
Screenshot

manage_template.jpg

Other checks

  • Case 1:Add template when 'lable' field is blank
    • In put:
      • Click Add button->'Add new template' pop-up appears
      • Do not put data in 'Label' field
    • Out put: Show message: "The field "label" is required"
  • Case 2:Add new or edit template when not select permisson
    • In put:
      • Click Add button->'Add new template' pop-up appears
      • Do not select permission
    • Out put: Show message: "You must select permission"
  • Case 3: Add template when content of Dialog or View is empty
    • In put:
      • Click Add button->'Add new template' pop-up appears
      • Do not input data in Dialog content or View content
    • Out put: A message shows that: "The field… is required"
  • Case 4: Edit template when 'Name' field in Dialog or View tab is blank
    • Input
      • Select a template to edit
      • Select Dialog or View tab
      • o not input data in 'Name' field
    • Output: Show message "The value of name field is null or empty"
  • Case 5: Edit template when name of dialog or view is existing
    • In put:
      • Choose a template from list to edit
      • Fill in Content, Name and Permission field (Name field value is the same with existing dialog's name
      • Click Save button
    • Out put: Show message: "The name '...' is existing"
  • Case 6: Edit template when 'Name' field in Dialog or View tab has some special characters
    • Input
      • Select a template to edit
      • Select Dialog or View tab
      • Put some special character in 'Name' field such as : @,$,%,&..
    • Output: show message " Field name is not contain special characters"
  • Case 7
    • Input
      • Select 1 template to edit (e.x: exo:workflowAction)
      • Select tab Dialog -> set permission for owner:/portal/admin
      • Go to JCR
      • Add node ABC (nt:unstructured)
      • Add permission for node ABC: user Test has full permission on this node
      • User Test is member:/portal/admin
      • Log in by user test
      • Add action for node ABC -> select exo:workflowAction
    • Output: Show message " Access denied! You haven't got permission to access this template."

Movie

Select the following link to see details in movie:

Related JIRA issues

Click on the following link to see more issues relate to manager template:

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

Suggested Improvements

 
Navigation

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