From c62b9e0002d344e258ba3cc1a51ec9d30fc20c82 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 10 Apr 2013 17:00:55 +0800 Subject: [PATCH] IDEMPIERE-92 Implement Selenium testing framework. Fixed open window fixture. --- org.idempiere.ui.zk.selenium/src/fitlibrary/zk/ZkFixture.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.idempiere.ui.zk.selenium/src/fitlibrary/zk/ZkFixture.java b/org.idempiere.ui.zk.selenium/src/fitlibrary/zk/ZkFixture.java index c7c83d25e6..a5ff6c1fc6 100644 --- a/org.idempiere.ui.zk.selenium/src/fitlibrary/zk/ZkFixture.java +++ b/org.idempiere.ui.zk.selenium/src/fitlibrary/zk/ZkFixture.java @@ -160,6 +160,7 @@ public class ZkFixture extends SpiderFixture { String search = label.indexOf("&") > 0 ? label.substring(0, label.indexOf("&")) : label; search = search.indexOf("(") > 0 ? search.substring(0, search.indexOf("(")) : search; WebElement element = widget.$n(webDriver, "real"); + element.clear(); element.sendKeys(search); waitResponse(); comboboxSelectItem("$treeSearchCombo", label);