}
selenium.click("link=Use the classic uploader.");
selenium.type("_31_file",
RuntimeVariables.replace(
"L:\\portal\\build\\portal-web\\test\\com\\liferay\\portalweb\\portlet\\imagegallery\\test_image.jpg"));
<BUG>selenium.typeKeys("_31_name", RuntimeVariables.replace("Test Image"));
selenium.type("_31_name", RuntimeVariables.replace("Test Image"));
</BUG>
selenium.type("_31_description",
<BUG>RuntimeVariables.replace("This is the Liferay logo!"));
</BUG>
selenium.click(RuntimeVariables.replace("//input[@value='Save']"));

}
try {
if (selenium.isElementPresent("link=Image Gallery Test Page")) {
break;
}
}
catch (Exception e) {
}
Thread.sleep(1000);
}
selenium.click(RuntimeVariables.replace("link=Image Gallery Test Page"));
