IDEMPIERE-1124 ZkSuite.ProductionTest is broken. Fixed lookup fixture. Fixed production test script.

This commit is contained in:
Heng Sin Low 2013-07-01 16:45:41 +08:00
parent 4f518786ce
commit 98150a1dea
2 changed files with 3 additions and 3 deletions

View File

@ -15,12 +15,12 @@
|''window''|${windowId}|''click toolbar''|!-BtnSave-!|
|''wait response''|
|''window message''|${windowId}|is|!-Record saved-!|
|''window''|${windowId}|''click detail toolbar''|!-BtnNew-!|
|''window''|${windowId}|''click detail toolbar''|!-BtnEdit-!|
|''wait response''|
|''text of''|${windowId} $recordInfo|is|!-+*1/1-!|
|''window''|${windowId}|''click toolbar''|!-BtnParentRecord-!|
|''wait response''|
|''window''|${windowId}|''click process button''|!-CreateFrom-!|
|''click''|${windowId} $Production $CreateFrom|
|''wait response''|
|''click''|${windowId} @window[title="Create Production"] $Ok|
|''wait response''|

View File

@ -159,7 +159,7 @@ public class ZkFixture extends SpiderFixture {
Widget widget = new Widget(locator + " @textbox");
WebElement element = widget.findElement(webDriver);
element.click();
widget.execute(webDriver, "setValue('"+value+"')");
widget.execute(webDriver, "setValue(\""+value+"\")");
widget.execute(webDriver, "fireOnChange()");
}