h1. Voting for Document Test Case
h2. Steps to vote for document
h3. Required Test Cases (in order)

* Login

h3. Main steps

Go to *Content Management* -> *File Explorer*

* Select 1 drive that allows to do Vote function (in this case I use drive *'Collaboration Center'*)
* Select tab '*Collaboration'*
* Select a document that you want to vote (Note: you can not vote for File Plant template)
* Click the 'Vote for document icon'-> 'Vote Document' pop-up appears
* Moving mouse over
!star.jpg|height=21,width=19!
  icon to select the amount of the stars
* Click *Cancel* button to cancel the vote and close form

*+Screenshot+*

!Vote.jpg|height=470,width=741!

h3. Other checks

* *Case 1*: Vote for node type nt:unstructured and nt:folder
** In put: select a node type nt:unstructured or nt: folder and click *Vote* icon
** Out put: A message shows that: 'Do not allow to vote for this type of document'
* *Case 2*: Vote for a document
** Input: select a document which available in tree node and perform vote for this document
** Output: Information about Vote is displayed at botton of popup when view document
** +Note+: If you vote for document File Plan -> show message "Do not allow to vote for this type of document "
* *Case 3*:  Vote for uploaded file
** Input: Select a node which uploaded and perform vote for this node
** Output: Information about vote is displayed at botton of popup when view this node
* *Case 4*: Vote for imported file
** Input: Select a document which imported in tree and perform vote for this document
** Output: Information about vote is displayed at botton of popup when view this document
* *Case 5*: Vote for document is in 'Check in' status
** Input
*** Select a document is in 'Check in' status
*** Click icon to vote
** Output: Show message "You must check out first"
* *Case 6*: Vote for document is locked
** Input
*** Select a document and locked
*** Login by user is not locker
*** Select locked document and click icon to vote
** Output: Show message "The item path /... or upper level is locked"
* *Case 7*: Vote for document when user doesn't have set property permission
** Input:
*** Select a document that user  doesn't have set property permission
*** Click icon to vote
** Output: Show message "Access denied. You haven't got edit permission in this node"
h2. Movie

Select the following link to see detail in movie:

h2. Related JIRA issues

[http://jira.exoplatform.org/secure/IssueNavigator.jspa?reset=true&&pid=10004&query=vote&summary=true]

h2. Suggested Improvements