AddFolderImage2Test
open /web/guest/home/
waitForElementPresent link=Image Gallery Test Page
clickAtAndWait link=Image Gallery Test Page
clickAtAndWait //a/strong
assertText //div[2]/ul/li[5]/a Add Image
clickAtAndWait //div[2]/ul/li[5]/a Add Image
waitForVisible link=Use the classic uploader.
click link=Use the classic uploader.
waitForVisible _31_file
type _31_file L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\imagegallery\image\addfolderimagemultiple\dependencies\test_image_2.jpg
type _31_name Test2 Image2
type _31_description This is Test2 Image2.
clickAtAndWait //input[@value='Save']
waitForTextPresent Your request processed successfully.
assertTextPresent Your request processed successfully.
assertElementPresent //img[@alt='Test2 Image2 - This is Test2 Image2.']
waitForElementPresent //img[@alt='Test2 Image2 - This is Test2 Image2.']
waitForText //a[2]/span Test2 Image2
assertText //a[2]/span Test2 Image2