| AddDocumentVersionTest | ||
| open | /user/joebloggs/home/ | |
| waitForElementPresent | link=Communities I Own | |
| clickAtAndWait | link=Communities I Own | |
| type | _29_name | Document Library Document Version Community |
| clickAtAndWait | //input[@value='Search'] | |
| clickAtAndWait | link=Open | Open |
| waitForElementPresent | link=Document Library Page | |
| clickAtAndWait | link=Document Library Page | |
| clickAtAndWait | //b | Test1 Folder1 |
| click | //strong/span | |
| clickAndWait | link=Edit | |
| waitForElementPresent | _20_file | |
| type | _20_file | L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata527\documentlibrary\documentversion\dependencies\test_document2.txt |
| type | _20_title | Test2 Document2 |
| type | _20_description | This is test2 document2. |
| clickAtAndWait | //input[@value='Save'] | |
| selectWindow | null | |
| assertText | //td[1]/a | Test2 Document2.txt This is test2 document2. |
| click | //strong/span | |
| clickAtAndWait | link=View | |
| waitForText | //tr[3]/td[2]/a | 1.1 |
| waitForText | //tr[2]/td[2] | 1.1 |
| assertText | //tr[2]/td[2] | 1.1 |
| assertText | //tr[3]/td[2]/a | 1.1 |