| waitForElementPresent |
link=Document Library Permissions Test Page |
|
| clickAtAndWait |
link=Document Library Permissions Test Page |
|
| clickAtAndWait |
link=Portlet2 Temporary2 Folder2 |
|
| waitForElementPresent |
//li[4]/span/a |
|
| clickAtAndWait |
//input[@value='Add Shortcut'] |
|
| waitForElementPresent |
//li[5]/span/a |
|
| clickAt |
//input[@value='Select'] |
|
| waitForPopUp |
toGroup |
30000 |
| selectWindow |
name=toGroup |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('link=My Community')) |
CommunityPresent1 |
| gotoIf |
${CommunityPresent1} |
MyCommunityPresent1 |
| close |
|
|
| selectWindow |
null |
|
| label |
MyCommunityPresent1 |
|
| store |
eval(selenium.isElementPresent('link=My Community')) |
CommunityPresent2 |
| gotoIf |
!${CommunityPresent2} |
MyCommunityPresent2 |
| click |
link=My Community |
|
| selectWindow |
null |
|
| label |
MyCommunityPresent2 |
|
| pause |
5000 |
|
| assertText |
_20_toGroupName |
My Community |
| clickAt |
_20_selectToFileEntryButton |
|
| waitForPopUp |
toGroup |
30000 |
| selectWindow |
name=toGroup |
|
| pause |
5000 |
|
| clickAtAndWait |
link=Document Home |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('link=My1 Community1 Folder1')) |
FolderPresent1 |
| gotoIf |
${FolderPresent1} |
MyCommunityFolderPresent1 |
| close |
|
|
| selectWindow |
null |
|
| label |
MyCommunityFolderPresent1 |
|
| store |
eval(selenium.isElementPresent('link=My1 Community1 Folder1')) |
FolderPresent2 |
| gotoIf |
!${FolderPresent2} |
MyCommunityFolderNotPresent2 |
| clickAtAndWait |
link=My1 Community1 Folder1 |
|
| store |
eval(selenium.isElementPresent('link=My1 Community1 Document1.txt')) |
DocumentPresent1 |
| pause |
5000 |
|
| gotoIf |
${DocumentPresent1} |
MyCommunityDocumentPresent1 |
| close |
|
|
| selectWindow |
null |
|
| label |
MyCommunityDocumentPresent1 |
|
| store |
eval(selenium.isElementPresent('link=My1 Community1 Document1.txt')) |
DocumentPresent2 |
| gotoIf |
!${DocumentPresent2} |
MyCommunityDocumentNotPresent2 |
| click |
link=My1 Community1 Document1.txt |
|
| selectWindow |
null |
|
| label |
MyCommunityDocumentNotPresent2 |
|
| label |
MyCommunityFolderNotPresent2 |
|
| pause |
5000 |
|
| assertText |
_20_toFileEntryTitle |
My1 Community1 Document1.txt |
| clickAtAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertElementPresent |
link=My1 Community1 Document1.txt |
|