| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Wiki Test Page |
|
| assertElementPresent |
link=0 Attachments |
|
| clickAtAndWait |
link=0 Attachments |
|
| assertTextPresent |
This page does not have any file attachments. |
|
| clickAtAndWait |
//input[@value='Add Attachments'] |
|
| selectWindow |
null |
|
| pause |
5000 |
|
| windowFocus |
|
|
| waitForVisible |
link=Use the classic uploader. |
|
| click |
link=Use the classic uploader. |
|
| waitForVisible |
_36_file1 |
|
| type |
_36_file1 |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\wiki\attachment\deletefrontpageattachment\dependencies\Wiki_Attachment.jpg |
| clickAtAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertElementPresent |
link=Wiki_Attachment.jpg |
|
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Wiki Test Page |
|
| assertElementPresent |
link=1 Attachment |
|
| assertElementNotPresent |
link=0 Attachments |
|