AddImageTest
waitForElementPresent link=Image Gallery Test Page
clickAndWait link=Image Gallery Test Page
clickAndWait //b
clickAndWait //b
clickAndWait //input[@value='Add Image']
pause 5000
waitForElementPresent link=Use the classic uploader.
click link=Use the classic uploader.
waitForElementPresent _31_file
type _31_file L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\imagegallery\test_image.jpg
typeKeys _31_name test_image
type _31_name test_image
typeKeys _31_description This is the Lifera logo!
type _31_description This is the Liferay logo!
clickAndWait //input[@value='Save']
pause 5000
assertElementPresent //img[@alt='Image']
assertTextPresent test_image