AddDocumentTest
waitForElementPresent link=Asset Publisher Test Page
clickAndWait link=Asset Publisher Test Page
waitForElementPresent //select
selectAndWait //select label=Document Library Document
clickAndWait link=Folders
clickAndWait link=AP Setup DL Test Folder
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\assetpublisher\AP_test_document_2.txt
typeKeys _20_title AP Setup Test Document 2
type _20_title AP Setup Test Document 2
clickAndWait //input[@value='Save']
pause 5000
assertElementPresent link=AP Setup Test Document 2.txt