AddDocumentTest
open /user/joebloggs/home/
waitForElementPresent link=Communities I Own
clickAtAndWait link=Communities I Own
type _29_name Document Library Shortcut Community
clickAtAndWait //input[@value='Search Communities']
clickAtAndWait //tr[@class='portlet-section-body results-row']/td[1]/a
waitForElementPresent link=Document Library Page
clickAtAndWait link=Document Library Page
clickAtAndWait link=Test1 Folder1
clickAtAndWait //input[@value='Add Document']
pause 5000
waitForElementPresent link=Use the classic uploader.
click link=Use the classic uploader.
waitForElementPresent _20_file
type _20_file L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata512\documentlibrary\documentversion\dependencies\test_document.txt
type _20_title Test1 Document1
type _20_description This is test1 document1.
clickAtAndWait //input[@value='Save']
waitForText //td[1]/a Test1 Document1.txt
This is test1 document1.
assertText //td[1]/a Test1 Document1.txt
This is test1 document1.