IDEMPIERE-92 Fixing bug related to braces in window name

This commit is contained in:
Deepak Pansheriya 2013-05-30 19:14:18 +05:30
parent 63f6cdbf2b
commit aa251fba97
1 changed files with 0 additions and 1 deletions

View File

@ -163,7 +163,6 @@ public class ZkFixture extends SpiderFixture {
public void openWindow(String label) {
Widget widget = new Widget("$treeSearchCombo");
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);