Portlet_AddDocumentTest
open /web/guest/home/
waitForElementPresent link=Document Library Permissions Test Page
clickAtAndWait link=Document Library Permissions Test Page
clickAtAndWait link=Portlet2 Temporary2 Folder2
assertText //div[@class='lfr-component lfr-menu-list lfr-menu-expanded right null']/ul/li[1]/a Add Document
clickAndWait //div[@class='lfr-component lfr-menu-list lfr-menu-expanded right null']/ul/li[1]/a Add Document
pause 5000
selectWindow null
windowFocus
waitForVisible link=Use the classic uploader.
click link=Use the classic uploader.
type _20_file L:\portal\build\portal-web\test\com\liferay\portalweb\portal\permissions\documentlibrary\portlet\dependencies\Portlet_TestDocument.txt
type _20_title Portlet1 Portlet1 Permissions1 Document1
clickAtAndWait //input[@value='Publish']
assertText //section/div/div/div/div[1] Your request processed successfully.
assertText //a/span/span Portlet1 Portlet1 Permissions1 Document1