Steps to manager node type
Required Test Cases (in order)
Main steps
- Go to Content Administration -> ECM Administration-> Types of Content
View Node Type
- Select a node type to view
- Click on 'View' icon -> View Node Type Infomation pop-up appears. It has 3 tabs: Node Type, Property and Child Node
- Click on each tab to view information
Add Node Type
- Click on Add button-> Add/Edit Node Type Definitions pop-up appears
- In Node Type tab:
- Enter data for properties.
- With 'Supper types'
- Click on 'AddSupperType' icon to add
- Tick on the node name to select
- Click Add Type button
- In Property tab
- Enter data for properties
- With 'Value Constraints'
- Click on 'AddContraints' icon to add
- Enter value for 'Value Contraint' property. If you want to input more than one value, click on 'AddItem' to add more textbox or click on 'Delete' icon to delete
- Click on Add button to add value for 'Value Contraint'
- Click on Add Property button to save
- In Child Node tab:
- Enter data for properties
- With 'Required primary type'
- Click on 'AddRequiredType'
- Click on node name to select
- Click on Add Type button
- Click on Add Child to save
- Click on Save or Save Draff button to save all
- Save draff : the node can be edited and deleted
- Save : the node can not be edited and deleted
Export Node Type
- Click on Export button-> Export Node Types pop-up appears
- Tick the node that you want to export into XML file
- Click on Export button on this pop-up
- Click on OK button in Opening nodetype_export.xml
- Click on Save button to save Xml file
Import Node Type
- Click on Import button-> Import Node Types form XML file pop-up appears
- Click on Browse button to select a Xml file
- Click on 'Upload' icon to run upload process
- Click on Upload button
- Click on Import button to import node type into system
Other checks
- Case 1:
- In put: Not input data in 'Node name' field
- Out put: A message shows that: " Node type name is required"
- Case 2:
- In put: Not input data in 'Supper types' field
- Out put: A message shows that " Supertype is mandatory to register new node type. At least 1 supertype must be chosen. "
- Case 3:
- In put: Input some special characters in 'Node name' field such as: @,#,$,&...
- Out put: A message shows that " There are some invalid characters in name. "
- Case 4:
- Input : Add new node type when node name and name space is existing
- Output: Show message "Node Type registration is unsuccessfuly. It is existing or Super types is invalid"
- Case 5:
- Input
- Click Import button
- Select file to upload
- Click Upload button
- In 'Import Node Type from xml file' pop-up, click Re Upload button
- Output : you can choose other XML file to upload
- Input
- Case 6: Import not an XML file
- Input
- Click Import button
- Select file is not an XML file to upload
- Click Upload button
- Output: Show message "Only Xml file or zip file are supported to import"
- Input
- Case 7: Do not select any file to import
- Input
- Click Import button->'Import Node Type from xml file' pop-up appears
- Click Upload button
- Output : Show message "Browse node type file for import"
- Input
- Case 8:
- Input
- Click Export button-> 'Export Nodes Type' popup appears
- Do not select any node
- Click Export button
- Output: Show message "You must check at least one node to export "
- Input
Movie
Select the following link to see details in movie:Related JIRA issues
http://jira.exoplatform.org/secure/IssueNavigator.jspa?reset=true&&pid=10004&query="manager+node+type"&summary=true&description=trueSuggested Improvements
on 09/01/2008 at 02:14