| waitForElementPresent |
link=Wiki Test Page |
|
| clickAndWait |
link=Wiki Test Page |
|
| assertElementPresent |
link=0 Attachments |
|
| clickAndWait |
link=0 Attachments |
|
| assertTextPresent |
This page does not have any file attachments. |
|
| clickAndWait |
//input[@value='Add Attachments'] |
|
| pause |
5000 |
|
| click |
link=Use the classic uploader. |
|
| type |
_36_file1 |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\wiki\Wiki-Selenium.portlet.lar |
| clickAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertElementPresent |
link=Wiki-Selenium.portlet.lar |
|
| clickAndWait |
link=Wiki Test Page |
|
| assertElementPresent |
link=1 Attachments |
|