| 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 |
//td[2]/a |
Open |
| clickAtAndWait |
link=Image Gallery Page |
|
| clickAtAndWait |
link=Folder Test |
|
| assertText |
//div[@class='lfr-component lfr-menu-list lfr-menu-expanded right ']/ul/li[5]/a |
Add Image |
| clickAndWait |
//div[@class='lfr-component lfr-menu-list lfr-menu-expanded right ']/ul/li[5]/a |
Add Image |
| pause |
5000 |
|
| waitForVisible |
link=Use the classic uploader. |
|
| click |
link=Use the classic uploader. |
|
| pause |
5000 |
|
| waitForVisible |
_31_file |
|
| type |
_31_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata605\webcontent\imageassociation\dependencies\ImageGallery.jpg |
| clickAtAndWait |
//input[@value='Save'] |
|
| pause |
5000 |
|
| assertElementPresent |
//img[@alt='ImageGallery - '] |
|
| assertText |
//span[@class='image-title'] |
ImageGallery |