private void typeNewValue(HtmlPage page, String inplaceInputId, String value) throws Exception {
HtmlElement input = page.getFirstByXPath("//*[@id = '" + inplaceInputId + "Input']");
assertNotNull(input);
input.setAttribute(HtmlConstants.VALUE_ATTRIBUTE, "");
input.type(value);
}
private void blur(HtmlPage page) throws Exception {
HtmlElement panel = page.getFirstByXPath("//*[@id = 'form:panel']");
panel.click();