| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Communities |
|
| type |
_134_name |
Document Library Document Version Community |
| clickAtAndWait |
//input[@value='Search'] |
|
| clickAtAndWait |
//td[2]/a |
Open |
| clickAtAndWait |
link=Document Library Page |
|
| clickAtAndWait |
//a/strong |
Test1 Folder1 |
| assertText |
//div[@class='lfr-component lfr-menu-list lfr-menu-expanded right ']/ul/li[5]/a |
Add Document |
| clickAtAndWait |
//div[@class='lfr-component lfr-menu-list lfr-menu-expanded right ']/ul/li[5]/a |
Add Document |
| pause |
5000 |
|
| selectWindow |
null |
|
| waitForVisible |
link=Use the classic uploader. |
|
| click |
link=Use the classic uploader. |
|
| waitForVisible |
_20_file |
|
| type |
_20_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata605\documentlibrary\documentversion\dependencies\test_document.txt |
| type |
_20_title |
Test1 Document1.txt |
| type |
_20_description |
This is test1 document1. |
| clickAtAndWait |
//input[@value='Publish'] |
|
| waitForText |
//section/div/div/div/div |
Your request processed successfully. |
| assertText |
//section/div/div/div/div |
Your request processed successfully. |
| waitForText |
//a/span/span |
Test1 Document1.txt |
| assertText |
//a/span/span |
Test1 Document1.txt |
| waitForText |
//a/div |
This is test1 document1. |
| assertText |
//a/div |
This is test1 document1. |