IDEMPIERE-92 Implement Selenium testing framework. Fixed open window fixture.
This commit is contained in:
parent
36b0930ec9
commit
c62b9e0002
|
@ -160,6 +160,7 @@ public class ZkFixture extends SpiderFixture {
|
||||||
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;
|
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.sendKeys(search);
|
element.sendKeys(search);
|
||||||
waitResponse();
|
waitResponse();
|
||||||
comboboxSelectItem("$treeSearchCombo", label);
|
comboboxSelectItem("$treeSearchCombo", label);
|
||||||
|
|
Loading…
Reference in New Issue