AddDocumentTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Document Library Shortcut Community
clickAtAndWait //input[@value='Search']
clickAtAndWait //td[2]/a Open
waitForElementPresent link=Document Library Page
clickAtAndWait link=Document Library Page
clickAtAndWait //a[2]/strong Test1 Folder1
clickAtAndWait //div[2]/ul/li[4]/a Add Document
pause 5000
waitForElementPresent //td[1]/div/div/div/div[2]/div/div/a Use the classic uploader.
clickAt //td[1]/div/div/div/div[2]/div/div/a Use the classic uploader.
waitForElementPresent _20_file
type _20_file L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata600\documentlibrary\shortcut\dependencies\test_document.txt
type _20_title Test1 Document1.txt
type _20_description This is test1 document1.
pause 5000
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.