Merge 9cfdc51d9b49

This commit is contained in:
Heng Sin Low 2013-05-31 11:57:16 +08:00
commit e82acb3840
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) { public void openWindow(String label) {
Widget widget = new Widget("$treeSearchCombo"); Widget widget = new Widget("$treeSearchCombo");
String search = label.indexOf("&") > 0 ? label.substring(0, label.indexOf("&")) : label; 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"); WebElement element = widget.$n(webDriver, "real");
element.clear(); element.clear();
element.sendKeys(search); element.sendKeys(search);