| AddFolderDocumentTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Document Library Test Page | |
| clickAtAndWait | link=Document Library Test Page | |
| clickAtAndWait | //b | |
| clickAtAndWait | //input[@value='Add Document'] | |
| pause | 5000 | |
| selectWindow | null | |
| windowFocus | ||
| waitForVisible | 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\movefolderdocumentcomment\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.txt This is test1 document1. |