AddDocumentTest
waitForElementPresent link=Document Library Test Page
clickAndWait link=Document Library Test Page
clickAndWait //b
clickAndWait //b
clickAndWait //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\portlet\documentlibrary\test_document.txt
typeKeys _20_title Test Document
type _20_title Test Document
type _20_description This is a test document!
clickAndWait //input[@value='Save']
pause 5000
assertTextPresent Test Document.txt
assertTextPresent This is a test document!