| open |
/user/joebloggs/home/ |
|
| waitForElementPresent |
link=Communities I Own |
|
| clickAtAndWait |
link=Communities I Own |
|
| type |
_29_name |
Web Content Image Association Community |
| clickAtAndWait |
//input[@value='Search Communities'] |
|
| clickAtAndWait |
//tr[@class='portlet-section-body results-row']/td[1]/a |
|
| clickAtAndWait |
link=Journal Page |
|
| clickAtAndWait |
link=Articles |
|
| clickAtAndWait |
//input[@value='Add Article'] |
|
| type |
_15_title |
Image Web Content Test |
| clickAt |
//input[@value='Select'] |
|
| assertConfirmation |
Selecting a new structure will change the available input fields and available templates? Do you want to proceed? |
|
| waitForPopUp |
structure |
30000 |
| selectWindow |
name=structure |
|
| waitForElementPresent |
link=TEST_IMAGE |
|
| click |
link=TEST_IMAGE |
|
| selectWindow |
null |
|
| waitForText |
_15_structureName |
Image Structure Test |
| assertText |
_15_structureName |
Image Structure Test |
| type |
_15_structure_el0_content |
Text Test |
| type |
_15_structure_el1_content |
L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata512\webcontent\imageassociation\dependencies\Image.jpg |
| click |
//input[@value='Select'] |
|
| waitForPopUp |
imageGallery |
30000 |
| selectWindow |
name=imageGallery |
|
| waitForElementPresent |
link=Folder Test |
|
| clickAtAndWait |
link=Folder Test |
|
| click |
//input[@value='Choose'] |
|
| selectWindow |
null |
|
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Save and Approve'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertText |
//tr[@class='portlet-section-body results-row']/td[3] |
Image Web Content Test |