| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Document Library Test Page |
|
| clickAtAndWait |
link=Document Library Test Page |
|
| clickAtAndWait |
//a/strong |
|
| clickAtAndWait |
//div[2]/ul/li[5]/a |
Add Document |
| 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\portlet\documentlibrary\portlet\configureportletdocumentsperpage1\dependencies\test_document.txt |
| type |
_20_title |
Test2 Document2 |
| type |
_20_description |
This is test2 document2. |
| clickAtAndWait |
//input[@value='Publish'] |
|
| waitForText |
//section/div/div/div/div[1] |
Your request processed successfully. |
| assertText |
//section/div/div/div/div[1] |
Your request processed successfully. |
| waitForTextPresent |
Test2 Document2 This is test2 document2. |
|
| assertTextPresent |
Test2 Document2 This is test2 document2. |
|