| AddDocumentTest | ||
| open | /user/joebloggs/home/ | |
| waitForElementPresent | link=Communities I Own | |
| clickAtAndWait | link=Communities I Own | |
| type | _29_name | Document Library Shortcut Community |
| clickAtAndWait | //input[@value='Search'] | |
| clickAtAndWait | link=Open | Open |
| waitForElementPresent | link=Document Library Page | |
| clickAtAndWait | link=Document Library Page | |
| clickAtAndWait | //b | Test1 Folder1 |
| clickAtAndWait | //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\portal\dbupgrade\sampledata523\documentlibrary\documentversion\dependencies\test_document.txt |
| type | _20_title | Test1 Document1 |
| type | _20_description | This is test1 document1. |
| 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. |