| 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=Image Gallery Page |
|
| clickAtAndWait |
link=Folder Test |
|
| clickAtAndWait |
//input[@value='Add Image'] |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Use the classic uploader. |
|
| click |
link=Use the classic uploader. |
|
| type |
_31_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata510\webcontent\imageassociation\dependencies\ImageGallery.jpg |
| clickAtAndWait |
//input[@value='Save'] |
|
| pause |
5000 |
|
| assertElementPresent |
//img[@alt='Image'] |
|
| assertText |
//form[@name='_31_fm2']/div[3]/div/div[2] |
ImageGallery |