h1. Import Node Test Case
h2. Steps to Import Node
h3. Required Test Cases (in order)
h3. Main steps

* Goto *Content Management* -> *File Explorer*
* Select a drive to work: In case, Select drive *Collaboration Center
*

* then, Select View is *Admin*
* select location to store file will import and click *Import node* icon
* Import node form is appear
* In form: Click *Browse* button to get path of file
* select a xml file in your machine. This file must has correct data format
* Click *Upload* icon beside *Browse* buton
* select format is Document View or System View in *Format* listbox for file import
* Click *Import* button
* Has message with content: Import successfully-> A file is imported successful to system

*+Screenshot+:*

!Importnode.png!

h3. Other checks

* *Case 1*: Test import file which do not must xml file
** *Input*:
*** Select a node in tree node to store imported file
*** In import form: select a file which do not must xml file from your machine
*** upload file and click *Save* button
** *Output*:
*** A message appears with content "Only xml file or zip file are supported to import"
*** Do not has any file which imported to system
* *Case 2*: Test import xml file but do not must exported file from system
** *Input*:
*** Select a node in tree node to store imported file
*** In import form: select a xml file but do not must exported file from system
*** upload xml file and click *Save* button
** *Output*:
*** A message error appears with content "Can not import node from uploaded file.Maybe data in file is crash"
*** Do not has any file which imported to system
* *Case 3*: Test import xml file which exported from system
** *Input*:
*** Select a node in tree node to store imported file
*** In import form: select a xml file which exported and saved in your machine
*** Upload xml file and click *Save* button
** *Output*: A xml file is imported successful to system
* *Case 4*: Test import xml file with format is Document View
** *Input*
*** Select a node in tree node to store imported file
*** In import form: select a xml file which exported and upload this file
*** Tick at *Document View* radio button and save
** *Output*: A xml file is imported successful
* *Case 5*: Test import zip-xml file with format is Document View
** *Input*
*** Select a node in tree node to store imported file
*** In import form: select a zip-xml file which exported and upload this file
*** Tick at *Document View* radio button and save
** *Output*: A zip-xml file is imported successful
* *Case 6*: Test import xml file with format is System View
** *Input*
*** Select a node in tree node to store imported file
*** In import form: select a xml file which exported and upload this file
*** Tick at *System View* radio button and save
** *Output*: A zip-xml file is imported successful
* *Case 7*: Test import zip-xml file with format is System View
** *Input*
*** Select a node in tree node to store imported file
*** In import form: select a zip-xml file which exported and upload this file
*** Tick at *System View* radio button and save
** *Output*: A zip-xml file is imported successful
* *Case 8*: Test import a node which has more version and restored version
** *Input*:
*** Select a node which added more two versions and restored version
*** Export this node to your machine
*** Do import node which exported
** *Output*: A node is imported successful to JCR
* *Case 9*: Test import a node which added action
** *Input*:
*** Select a node and add any action by Manage action function
*** Do Export this node to your machine
*** Do import node which exported
** *Output*: A node is imported successful to JCR





h2. Movie

Select the following link to see details in movie:


h2. Related JIRA issues

Select the following link to see detail all problems with Import Node function in Jira

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



h2. Suggested Improvements





















































