| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Communities |
|
| type |
_134_name |
Web Content Image Association Community |
| clickAtAndWait |
//input[@value='Search'] |
|
| 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\sampledata521\webcontent\imageassociation\dependencies\ImageGallery.jpg |
| clickAtAndWait |
//input[@value='Save'] |
|
| pause |
5000 |
|
| assertElementPresent |
//img[@alt='Image'] |
|
| assertText |
//form[@name='_31_fm2']/div[3]/div/div[1] |
ImageGallery |