Portlet_AddDocumentTest
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 Document']
pause 5000
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='Save']
assertTextPresent Your request processed successfully.
assertElementPresent link=Portlet1 Portlet1 Permissions1 Document1.txt