| AddFolderDocumentTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Document Library Test Page | |
| clickAtAndWait | link=Document Library Test Page | |
| clickAtAndWait | //a/strong | |
| clickAtAndWait | //div[@class='lfr-component lfr-menu-list right ']/ul/li[4]/a | |
| 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\comment\addfolderdocumentcomment\dependencies\test_document.txt |
| type | _20_title | Test1 Document1 |
| type | _20_description | This is test1 document1. |
| clickAtAndWait | //input[@value='Save'] | |
| pause | 5000 | |
| assertTextPresent | Your request processed successfully. | |
| assertText | //td[1]/a | Test1 Document1 This is test1 document1. |