IDEMPIERE-92 - Integrate Selenium. Improve support for Combobox. Reorganize and reformat test suite for zk. Added test case for the missing field translation tab bug. Added support for selection of tab.

This commit is contained in:
Heng Sin Low 2012-12-13 17:22:56 +08:00
parent 9601ffae85
commit 09664e3b37
46 changed files with 282 additions and 2451 deletions

View File

@ -6,10 +6,7 @@
Suites:
IdempiereSuite
AvgCostSuite
Zk Examples:
ZkSingleClientLogin
ZkMultiClientLogin
ZkSuite
| '''To Learn More...'''|

View File

@ -0,0 +1,27 @@
!contents
'''IDEMPIERE-369 Master Detail Improvement'''
Bugs: Field translation tab not show
!include -c ZkSystemAdminLogin
'''Open Window, Tab & Field'''
|''combobox''|$treeSearchCombo|''select item''|!-Window, Tab & Field-!|
|''wait response''|
|''click''|$findWindow_1 $simpleSearch $btnOk|
|''wait response''|
'''Edit Tab'''
|''element exists''|$Window__Tab___Field_1 $Window $detailPane @tab[label="Tab"]|
|''click''|$Window__Tab___Field_1 $Window $detailPane $BtnEdit|
|''wait response''|
'''Edit Field'''
|''element exists''|$Window__Tab___Field_1 $Tab $detailPane @tab[label="Field"]|
|''element exists''|$Window__Tab___Field_1 $Tab $detailPane @tab[label="Field Translation"]|
|''click''|$Window__Tab___Field_1 $Tab $detailPane $BtnEdit|
|''wait response''|
'''Verify Field Translation Detail Tab Exists'''
|''element exists''|$Window__Tab___Field_1 $Field $detailPane @tab[label="Field Translation"]|

View File

@ -1,35 +1,28 @@
!contents
!|fitlibrary.zk.ZkFixture|
|''start spider with''|firefox|
|''shutdown browser automatically''|false|
|''get url''|http://localhost:8080/webui/index.zul|
'''Login'''
|''with''|$loginPanel $txtUserId|''set text''|!-GardenAdmin-!|
|''with''|$loginPanel $txtPassword|''set text''|!-GardenAdmin-!|
|''combobox''|$loginPanel $lstLanguage|''select item''|English|
|''with''|$loginPanel $chkSelectRole|''select''|true|
|''click''|$loginPanel $Ok|
|checking timeout|2000|
|''wait response''|
'''Select Role'''
|''element''|$rolePanel $lstClient|''exists''|
|''element invisible''|$rolePanel $lstClient|
|''combobox''|$rolePanel $lstRole|''select item''|!-GardenWorld Admin-!|
|''combobox''|$rolePanel $lstOrganisation|''select item''|HQ|
|''click''|$rolePanel $Ok|
|checking timeout|3000|
|element|$loginUserAndRole|exists|
|''wait response''|
'''Verify login user name and role'''
|element|$loginUserAndRole|exists|
|''text of''|$loginUserAndRole|is|!-GardenAdmin@GardenWorld.HQ/GardenWorld Admin-!|

View File

@ -1,37 +1,28 @@
!contents
!|fitlibrary.zk.ZkFixture|
|''start spider with''|firefox|
|''shutdown browser automatically''|false|
|''get url''|http://localhost:8080/webui/index.zul|
'''Login'''
|''with''|$loginPanel $txtUserId|''set text''|!-SuperUser-!|
|''with''|$loginPanel $txtPassword|''set text''|!-System-!|
|''combobox''|$loginPanel $lstLanguage|''select item''|English|
|''with''|$loginPanel $chkSelectRole|''select''|true|
|''click''|$loginPanel $Ok|
|checking timeout|2000|
|''wait response''|
'''Select Role'''
|''element''|$rolePanel $lstClient|''exists''|
|''element visible''|$rolePanel $lstClient|
|''combobox''|$rolePanel $lstClient|''select item''|!-GardenWorld-!|
|''combobox''|$rolePanel $lstRole|''select item''|!-GardenWorld Admin-!|
|''combobox''|$rolePanel $lstOrganisation|''select item''|HQ|
|''combobox''|$rolePanel $lstClient|''select item''|!-System-!|
|''combobox''|$rolePanel $lstRole|''select item''|!-System Administrator-!|
|''combobox''|$rolePanel $lstOrganisation|''select item''|*|
|''click''|$rolePanel $Ok|
|checking timeout|3000|
|element|$loginUserAndRole|exists|
|''wait response''|
|''text of''|$loginUserAndRole|is|!-SuperUser@GardenWorld.HQ/GardenWorld Admin-!|
'''Verify login user and role'''
|element|$loginUserAndRole|exists|
|''text of''|$loginUserAndRole|is|!-SuperUser@System.*/System Administrator-!|

View File

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<properties>
<Edit>true</Edit>
<Files>true</Files>
<Properties>true</Properties>
<RecentChanges>true</RecentChanges>
<Refactor>true</Refactor>
<Search>true</Search>
<Test/>
<Versions>true</Versions>
<WhereUsed>true</WhereUsed>
</properties>

View File

@ -0,0 +1 @@
!contents

View File

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<properties>
<Edit>true</Edit>
<Files>true</Files>
<Properties>true</Properties>
<RecentChanges>true</RecentChanges>
<Refactor>true</Refactor>
<Search>true</Search>
<Suite/>
<Versions>true</Versions>
<WhereUsed>true</WhereUsed>
</properties>

View File

@ -1,62 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>CreateProduct</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>4</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Create Record<hr/> <span class="fit_label">Could not find fixture: CreateRecord.</span></td>
</tr>
<tr>
<td>*Table*</td>
<td>M_Product</td>
</tr>
<tr>
<td>Name</td>
<td>@RandomName@</td>
</tr>
<tr>
<td>Value</td>
<td>@RandomName@</td>
</tr>
<tr>
<td>C_UOM_ID</td>
<td>@Ref=C_UOM[Name='Each'].C_UOM_ID</td>
</tr>
<tr>
<td>M_Product_Category_ID</td>
<td>@Ref=M_Product_Category[Name='Standard' and AD_Client_ID=@AD_Client_ID@].M_Product_Category_ID</td>
</tr>
<tr>
<td>C_TaxCategory_ID</td>
<td>@Ref=C_TaxCategory[Name='Standard' and AD_Client_ID=@AD_Client_ID@].C_TaxCategory_ID</td>
</tr>
<tr>
<td>*Save*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>CreateProduct</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,62 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>CreateProduct</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>6</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Create Record<hr/> <span class="fit_label">Could not find fixture: CreateRecord.</span></td>
</tr>
<tr>
<td>*Table*</td>
<td>M_Product</td>
</tr>
<tr>
<td>Name</td>
<td>@RandomName@</td>
</tr>
<tr>
<td>Value</td>
<td>@RandomName@</td>
</tr>
<tr>
<td>C_UOM_ID</td>
<td>@Ref=C_UOM[Name='Each'].C_UOM_ID</td>
</tr>
<tr>
<td>M_Product_Category_ID</td>
<td>@Ref=M_Product_Category[Name='Standard' and AD_Client_ID=@AD_Client_ID@].M_Product_Category_ID</td>
</tr>
<tr>
<td>C_TaxCategory_ID</td>
<td>@Ref=C_TaxCategory[Name='Standard' and AD_Client_ID=@AD_Client_ID@].C_TaxCategory_ID</td>
</tr>
<tr>
<td>*Save*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>CreateProduct</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,168 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>CreateProduct</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>3</exceptions>
</counts>
<runTimeInMillis>7</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Create Record<hr><pre><div class="fit_stacktrace">org.adempiere.exceptions.DBException: org.postgresql.util.PSQLException: ERROR: syntax error at end of input
Position: 59
at org.compiere.util.DB.getSQLValueStringEx(DB.java:1448)
at org.idempiere.fitnesse.fixture.Util.evaluate(Util.java:120)
at org.idempiere.fitnesse.fixture.CreateRecord.doStaticTable(CreateRecord.java:134)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at end of input
Position: 59
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.compiere.db.StatementProxy.invoke(StatementProxy.java:125)
at $Proxy0.executeQuery(Unknown Source)
at org.compiere.util.DB.getSQLValueStringEx(DB.java:1440)
... 27 more
</div></pre></td>
</tr>
<tr>
<td>*Table*</td>
<td>M_Product</td>
</tr>
<tr>
<td>Name</td>
<td class="error">@RandomName@<hr/><hr><pre><div class="fit_stacktrace">java.lang.IllegalArgumentException: Name is mandatory.
at org.compiere.model.PO.set_Value(PO.java:751)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:1009)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:978)
at org.idempiere.fitnesse.fixture.CreateRecord.doStaticTable(CreateRecord.java:176)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>Value</td>
<td class="error">@RandomName@<hr/><hr><pre><div class="fit_stacktrace">java.lang.IllegalArgumentException: Value is mandatory.
at org.compiere.model.PO.set_Value(PO.java:751)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:1009)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:978)
at org.idempiere.fitnesse.fixture.CreateRecord.doStaticTable(CreateRecord.java:176)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>C_UOM_ID</td>
<td>@Ref=C_UOM[Name='Each'].C_UOM_ID<hr/>100</td>
</tr>
<tr>
<td>M_Product_Category_ID</td>
<td>@Ref=M_Product_Category[Name='Standard' and AD_Client_ID=@AD_Client_ID@].M_Product_Category_ID</td>
</tr>
<tr>
<td>C_TaxCategory_ID</td>
<td>@Ref=C_TaxCategory[Name='Standard' and AD_Client_ID=@AD_Client_ID@].C_TaxCategory_ID</td>
</tr>
<tr>
<td>*Save*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>CreateProduct</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,62 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>LoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>4</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Login<hr/> <span class="fit_label">Could not find fixture: Login.</span></td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_Client_ID</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID</td>
</tr>
<tr>
<td>AD_Org_ID</td>
<td>@Ref=AD_Org[Name='HQ'].AD_Org_ID</td>
</tr>
<tr>
<td>M_Warehouse_ID</td>
<td>@Ref=M_Warehouse[Name='HQ Warehouse'].M_Warehouse_ID</td>
</tr>
<tr>
<td>*Login*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>LoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,62 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>LoginGardenAdmin</rootPath>
<result>
<counts>
<right>2</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>7</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_Client_ID</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td>AD_Org_ID</td>
<td>@Ref=AD_Org[Name='HQ'].AD_Org_ID<hr/>11</td>
</tr>
<tr>
<td>M_Warehouse_ID</td>
<td>@Ref=M_Warehouse[Name='HQ Warehouse'].M_Warehouse_ID<hr/>103</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
]]></content>
<relativePageName>LoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,69 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>ValidateClientSetOnAvgInv</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>3</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Assert Variable<hr><pre><div class="fit_stacktrace">java.lang.IllegalArgumentException: No SQL
at org.compiere.util.DB.prepareStatement(DB.java:758)
at org.compiere.util.DB.prepareStatement(DB.java:729)
at org.compiere.util.DB.getSQLValueStringEx(DB.java:1438)
at org.idempiere.fitnesse.fixture.Util.evaluate(Util.java:105)
at org.idempiere.fitnesse.fixture.AssertVariable.doStaticTable(AssertVariable.java:64)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>I</td>
<td>@SQL=select costingmethod from c_acctschema where c_acctschema_id = (select c_acctschema1_id from ad_clientinfo where ad_client_id=@AD_Client_ID@)</td>
</tr>
</table>
]]></content>
<relativePageName>ValidateClientSetOnAvgInv</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,93 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>10</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('4');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img4"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="4"><table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Login<hr><pre><div class="fit_stacktrace">java.lang.UnsupportedOperationException: Missing Context #AD_Client_ID
at org.compiere.util.Login.getOrgs(Login.java:566)
at org.idempiere.fitnesse.fixture.Login.modelLogin(Login.java:172)
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:109)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td>*Login*</td>
<td></td>
</tr>
</table>]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,93 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>10</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('5');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img5"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="5"><table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Login<hr><pre><div class="fit_stacktrace">java.lang.UnsupportedOperationException: Missing Context #AD_Client_ID
at org.compiere.util.Login.getOrgs(Login.java:566)
at org.idempiere.fitnesse.fixture.Login.modelLogin(Login.java:172)
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:109)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td>*Login*</td>
<td></td>
</tr>
</table>]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,132 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>0</right>
<wrong>3</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>16</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('6');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img6"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="6"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="fail">*Login*</td>
<td class="error"><hr><pre><div class="fit_stacktrace">java.lang.Exception: Error logging in - no organizations for this role
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:116)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
</table>
</div>
</div>
<br/><br/>Check the inventory level before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Set Variable</td>
</tr>
<tr>
<td>@InventoryLevelBefore@</td>
<td class="fail">@SQL=SELECT SUM(s.qtyonhand) FROM m_storage s, m_locator l, m_warehouse w WHERE s.m_product_id=133 AND s.m_locator_id = l.m_locator_id AND l.m_warehouse_id=w.m_warehouse_id AND w.m_warehouse_id=103not logged in</td>
</tr>
</table>
<br/>Check the bp balance before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Read Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>C_bpartner</td>
</tr>
<tr>
<td>c_bpartner_id</td>
<td>120</td>
</tr>
<tr>
<td>*Read*</td>
<td></td>
</tr>
<tr>
<td>actuallifetimevalue</td>
<td></td>
</tr>
<tr>
<td>so_creditused</td>
<td></td>
</tr>
<tr>
<td>totalopenbalance</td>
<td class="fail">not logged in</td>
</tr>
</table>
]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,132 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>0</right>
<wrong>3</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>15</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('8');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img8"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="8"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="fail">*Login*</td>
<td class="error"><hr><pre><div class="fit_stacktrace">java.lang.Exception: Error logging in - no organizations for this role
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:116)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
</table>
</div>
</div>
<br/><br/>Check the inventory level before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Set Variable</td>
</tr>
<tr>
<td>@InventoryLevelBefore@</td>
<td class="fail">@SQL=SELECT SUM(s.qtyonhand) FROM m_storage s, m_locator l, m_warehouse w WHERE s.m_product_id=133 AND s.m_locator_id = l.m_locator_id AND l.m_warehouse_id=w.m_warehouse_id AND w.m_warehouse_id=103not logged in</td>
</tr>
</table>
<br/>Check the bp balance before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Read Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>C_bpartner</td>
</tr>
<tr>
<td>c_bpartner_id</td>
<td>120</td>
</tr>
<tr>
<td>*Read*</td>
<td></td>
</tr>
<tr>
<td>actuallifetimevalue</td>
<td></td>
</tr>
<tr>
<td>so_creditused</td>
<td></td>
</tr>
<tr>
<td>totalopenbalance</td>
<td class="fail">not logged in</td>
</tr>
</table>
]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,105 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>3</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>264</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('11');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img11"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="11"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/>Check the inventory level before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Set Variable</td>
</tr>
<tr>
<td>@InventoryLevelBefore@</td>
<td>@SQL=SELECT SUM(s.qtyonhand) FROM m_storage s, m_locator l, m_warehouse w WHERE s.m_product_id=133 AND s.m_locator_id = l.m_locator_id AND l.m_warehouse_id=w.m_warehouse_id AND w.m_warehouse_id=103<hr/>61</td>
</tr>
</table>
<br/>Check the bp balance before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Read Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>C_bpartner</td>
</tr>
<tr>
<td>c_bpartner_id</td>
<td>120</td>
</tr>
<tr>
<td>*Read*</td>
<td class="pass">MBPartner[ID=120,Value=SeedFarm,Name=Seed Farm Inc.,Open=-2731.5]</td>
</tr>
<tr>
<td>actuallifetimevalue</td>
<td>0</td>
</tr>
<tr>
<td>so_creditused</td>
<td>0</td>
</tr>
<tr>
<td>totalopenbalance</td>
<td>-2731.5</td>
</tr>
</table>
]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,105 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>3</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>15</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('2');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img2"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="2"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/>Check the inventory level before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Set Variable</td>
</tr>
<tr>
<td>@InventoryLevelBefore@</td>
<td>@SQL=SELECT SUM(s.qtyonhand) FROM m_storage s, m_locator l, m_warehouse w WHERE s.m_product_id=133 AND s.m_locator_id = l.m_locator_id AND l.m_warehouse_id=w.m_warehouse_id AND w.m_warehouse_id=103<hr/>61</td>
</tr>
</table>
<br/>Check the bp balance before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Read Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>C_bpartner</td>
</tr>
<tr>
<td>c_bpartner_id</td>
<td>120</td>
</tr>
<tr>
<td>*Read*</td>
<td class="pass">MBPartner[ID=120,Value=SeedFarm,Name=Seed Farm Inc.,Open=-2731.5]</td>
</tr>
<tr>
<td>actuallifetimevalue</td>
<td>0</td>
</tr>
<tr>
<td>so_creditused</td>
<td>0</td>
</tr>
<tr>
<td>totalopenbalance</td>
<td>-2731.5</td>
</tr>
</table>
]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,105 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>3</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>10</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('2');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img2"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="2"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/>Check the inventory level before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Set Variable</td>
</tr>
<tr>
<td>@InventoryLevelBefore@</td>
<td>@SQL=SELECT SUM(s.qtyonhand) FROM m_storage s, m_locator l, m_warehouse w WHERE s.m_product_id=133 AND s.m_locator_id = l.m_locator_id AND l.m_warehouse_id=w.m_warehouse_id AND w.m_warehouse_id=103<hr/>61</td>
</tr>
</table>
<br/>Check the bp balance before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Read Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>C_bpartner</td>
</tr>
<tr>
<td>c_bpartner_id</td>
<td>120</td>
</tr>
<tr>
<td>*Read*</td>
<td class="pass">MBPartner[ID=120,Value=SeedFarm,Name=Seed Farm Inc.,Open=-2731.5]</td>
</tr>
<tr>
<td>actuallifetimevalue</td>
<td>0</td>
</tr>
<tr>
<td>so_creditused</td>
<td>0</td>
</tr>
<tr>
<td>totalopenbalance</td>
<td>-2731.5</td>
</tr>
</table>
]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,105 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>QuickTest</rootPath>
<result>
<counts>
<right>3</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>17</runTimeInMillis>
<content><![CDATA[<div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('2');">
<img src="/files/images/collapsableClosed.gif" class="left" id="img2"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginGardenAdmin">TestLoginGardenAdmin</a> <a href="IdempiereSuite.TestLoginGardenAdmin?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="hidden" id="2"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/>Check the inventory level before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Set Variable</td>
</tr>
<tr>
<td>@InventoryLevelBefore@</td>
<td>@SQL=SELECT SUM(s.qtyonhand) FROM m_storage s, m_locator l, m_warehouse w WHERE s.m_product_id=133 AND s.m_locator_id = l.m_locator_id AND l.m_warehouse_id=w.m_warehouse_id AND w.m_warehouse_id=103<hr/>61</td>
</tr>
</table>
<br/>Check the bp balance before the document<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Read Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>C_bpartner</td>
</tr>
<tr>
<td>c_bpartner_id</td>
<td>120</td>
</tr>
<tr>
<td>*Read*</td>
<td class="pass">MBPartner[ID=120,Value=SeedFarm,Name=Seed Farm Inc.,Open=-2731.5]</td>
</tr>
<tr>
<td>actuallifetimevalue</td>
<td>0</td>
</tr>
<tr>
<td>so_creditused</td>
<td>0</td>
</tr>
<tr>
<td>totalopenbalance</td>
<td>-2731.5</td>
</tr>
</table>
]]></content>
<relativePageName>QuickTest</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,123 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestCreateReference</rootPath>
<result>
<counts>
<right>2</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>4</runTimeInMillis>
<content><![CDATA[This test tries to create a reference in the database, intentionally the ValidationType is left to a wrong value (Y) to make it fail.<br/><br/><div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('27');">
<img src="/files/images/collapsableOpen.gif" class="left" id="img27"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginSystem">TestLoginSystem</a> <a href="IdempiereSuite.TestLoginSystem?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="collapsable" id="27"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>SuperUser</td>
</tr>
<tr>
<td>Password</td>
<td>System</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>0</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>0</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Create Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>AD_Reference</td>
</tr>
<tr>
<td>Name</td>
<td>Fitnesse Test</td>
</tr>
<tr>
<td>ValidationType</td>
<td class="error">Y<hr><pre><div class="fit_stacktrace">java.lang.IllegalArgumentException: ValidationType Invalid value - Y - Reference_ID=2 - D - L - T
at org.compiere.model.PO.set_Value(PO.java:826)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:1009)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:978)
at org.idempiere.fitnesse.fixture.CreateRecord.doStaticTable(CreateRecord.java:176)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretFollowingTables(Fixture.java:119)
at fit.Fixture.interpretTables(Fixture.java:105)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td class="fail">invalidcolumn</td>
<td>Y</td>
</tr>
<tr>
<td>*Save*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>TestCreateReference</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,123 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestCreateReference</rootPath>
<result>
<counts>
<right>2</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>17</runTimeInMillis>
<content><![CDATA[This test tries to create a reference in the database, intentionally the ValidationType is left to a wrong value (Y) to make it fail.<br/><br/><div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('28');">
<img src="/files/images/collapsableOpen.gif" class="left" id="img28"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginSystem">TestLoginSystem</a> <a href="IdempiereSuite.TestLoginSystem?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="collapsable" id="28"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>SuperUser</td>
</tr>
<tr>
<td>Password</td>
<td>System</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>0</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>0</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Create Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>AD_Reference</td>
</tr>
<tr>
<td>Name</td>
<td>Fitnesse Test</td>
</tr>
<tr>
<td>ValidationType</td>
<td class="error">Y<hr><pre><div class="fit_stacktrace">java.lang.IllegalArgumentException: ValidationType Invalid value - Y - Reference_ID=2 - D - L - T
at org.compiere.model.PO.set_Value(PO.java:826)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:1009)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:978)
at org.idempiere.fitnesse.fixture.CreateRecord.doStaticTable(CreateRecord.java:176)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretFollowingTables(Fixture.java:119)
at fit.Fixture.interpretTables(Fixture.java:105)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td class="fail">invalidcolumn</td>
<td>Y</td>
</tr>
<tr>
<td>*Save*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>TestCreateReference</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,123 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestCreateReference</rootPath>
<result>
<counts>
<right>2</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>6</runTimeInMillis>
<content><![CDATA[This test tries to create a reference in the database, intentionally the ValidationType is left to a wrong value (Y) to make it fail.<br/><br/><div class="collapse_rim">
<div style="float: right;" class="meta">
<a href="javascript:expandAll();">Expand All</a>
|
<a href="javascript:collapseAll();">Collapse All</a>
</div>
<a href="javascript:toggleCollapsable('30');">
<img src="/files/images/collapsableOpen.gif" class="left" id="img30"/>
</a>
&nbsp;
<span class="meta">Included page: <a href="IdempiereSuite.TestLoginSystem">TestLoginSystem</a> <a href="IdempiereSuite.TestLoginSystem?edit&amp;redirectToReferer=true&amp;redirectAction=">(edit)</a></span>
<div class="collapsable" id="30"><table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>SuperUser</td>
</tr>
<tr>
<td>Password</td>
<td>System</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>0</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>0</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
</div>
</div>
<br/><br/><table border="1" cellspacing="0">
<tr>
<td colspan="2">Create Record</td>
</tr>
<tr>
<td>*Table*</td>
<td>AD_Reference</td>
</tr>
<tr>
<td>Name</td>
<td>Fitnesse Test</td>
</tr>
<tr>
<td>ValidationType</td>
<td class="error">Y<hr><pre><div class="fit_stacktrace">java.lang.IllegalArgumentException: ValidationType Invalid value - Y - Reference_ID=2 - D - L - T
at org.compiere.model.PO.set_Value(PO.java:826)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:1009)
at org.compiere.model.PO.set_ValueOfColumnReturningBoolean(PO.java:978)
at org.idempiere.fitnesse.fixture.CreateRecord.doStaticTable(CreateRecord.java:176)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretFollowingTables(Fixture.java:119)
at fit.Fixture.interpretTables(Fixture.java:105)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td class="fail">invalidcolumn</td>
<td>Y</td>
</tr>
<tr>
<td>*Save*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>TestCreateReference</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,83 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>13</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Login<hr><pre><div class="fit_stacktrace">java.lang.UnsupportedOperationException: Missing Context #AD_Client_ID
at org.compiere.util.Login.getOrgs(Login.java:566)
at org.idempiere.fitnesse.fixture.Login.modelLogin(Login.java:172)
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:109)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td>*Login*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,83 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>12</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2" class="error">Login<hr><pre><div class="fit_stacktrace">java.lang.UnsupportedOperationException: Missing Context #AD_Client_ID
at org.compiere.util.Login.getOrgs(Login.java:566)
at org.idempiere.fitnesse.fixture.Login.modelLogin(Login.java:172)
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:109)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td>*Login*</td>
<td></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,81 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>12</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="fail">*Login*</td>
<td class="error"><hr><pre><div class="fit_stacktrace">java.lang.Exception: Error logging in - no organizations for this role
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:116)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,81 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>11</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="fail">*Login*</td>
<td class="error"><hr><pre><div class="fit_stacktrace">java.lang.Exception: Error logging in - no organizations for this role
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:116)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,81 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>9</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="fail">*Login*</td>
<td class="error"><hr><pre><div class="fit_stacktrace">java.lang.Exception: Error logging in - no organizations for this role
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:116)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,81 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>0</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>16</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="fail">*Login*</td>
<td class="error"><hr><pre><div class="fit_stacktrace">java.lang.Exception: Error logging in - no organizations for this role
at org.idempiere.fitnesse.fixture.Login.doStaticTable(Login.java:116)
at fitnesse.fixtures.TableFixture.doRows(TableFixture.java:16)
at fit.Fixture.doTable(Fixture.java:153)
at fit.Fixture.interpretTables(Fixture.java:99)
at fit.Fixture.doTables(Fixture.java:79)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at org.idempiere.fitnesse.server.fit.FitServerRunner.run(FitServerRunner.java:18)
at org.idempiere.fitnesse.server.Runner.execute(Runner.java:18)
at org.idempiere.fitnesse.server.fit.FitServlet.runTests(FitServlet.java:25)
at org.idempiere.fitnesse.server.fit.FitServlet.service(FitServlet.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
</div></pre></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,54 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>2</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>8</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,54 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginGardenAdmin</rootPath>
<result>
<counts>
<right>2</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>4</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>Password</td>
<td>GardenAdmin</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>@Ref=AD_Client[Value='GardenWorld'].AD_Client_ID<hr/>11</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>@Ref=AD_Role[Name='GardenWorld Admin'].AD_Role_ID<hr/>102</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginGardenAdmin</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -1,54 +0,0 @@
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20111026</FitNesseVersion>
<rootPath>TestLoginSystem</rootPath>
<result>
<counts>
<right>2</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>1</runTimeInMillis>
<content><![CDATA[<table border="1" cellspacing="0">
<tr>
<td colspan="2">Login</td>
</tr>
<tr>
<td>User</td>
<td>SuperUser</td>
</tr>
<tr>
<td>Password</td>
<td>System</td>
</tr>
<tr>
<td>AD_ClIEnT_id</td>
<td>0</td>
</tr>
<tr>
<td>AD_Role_id</td>
<td>0</td>
</tr>
<tr>
<td class="pass">*Login*</td>
<td class="pass"></td>
</tr>
</table>
]]></content>
<relativePageName>TestLoginSystem</relativePageName>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>0</totalRunTimeInMillis>
</testResults>

View File

@ -61,14 +61,7 @@ public class AdempiereIdGenerator implements IdGenerator {
}
prefix = builder.toString();
Pattern pattern = Pattern.compile("[^a-zA-Z_0-9]");
Matcher matcher = pattern.matcher(prefix);
StringBuffer sb = new StringBuffer();
while(matcher.find()) {
matcher.appendReplacement(sb, "_");
}
matcher.appendTail(sb);
prefix = sb.toString();
prefix = escapeId(prefix);
if (desktop.getComponentByUuidIfAny(prefix) == null) { // look to avoid dups
return prefix;
@ -92,6 +85,18 @@ public class AdempiereIdGenerator implements IdGenerator {
return prefix + i;
}
public static String escapeId(String prefix) {
Pattern pattern = Pattern.compile("[^a-zA-Z_0-9]");
Matcher matcher = pattern.matcher(prefix);
StringBuffer sb = new StringBuffer();
while(matcher.find()) {
matcher.appendReplacement(sb, "_");
}
matcher.appendTail(sb);
prefix = sb.toString();
return prefix;
}
@Override
public String nextDesktopId(Desktop desktop) {
if (desktop.getAttribute(DESKTOP_ID_ATTRIBUTE) == null) {

View File

@ -24,6 +24,7 @@ import org.zkoss.zhtml.Text;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Execution;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.IdSpace;
import org.zkoss.zk.ui.Page;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
@ -43,7 +44,7 @@ import org.zkoss.zul.Toolbar;
* @author hengsin
*
*/
public class DetailPane extends Panel implements EventListener<Event> {
public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
public static final String ON_POST_SELECT_TAB_EVENT = "onPostSelectTab";

View File

@ -19,6 +19,7 @@ package org.adempiere.webui.component;
import java.util.List;
import org.adempiere.webui.AdempiereIdGenerator;
import org.zkoss.zk.ui.IdSpace;
import org.zkoss.zul.Comboitem;
@ -43,8 +44,9 @@ public class Combobox extends org.zkoss.zul.Combobox implements IdSpace
public Comboitem appendItem(String label)
{
ComboItem item = new ComboItem(label);
if (getFellowIfAny(label) == null )
item.setId(label);
String id = AdempiereIdGenerator.escapeId(label);
if (getFellowIfAny(id) == null )
item.setId(id);
item.setParent(this);
return item;
}
@ -65,8 +67,9 @@ public class Combobox extends org.zkoss.zul.Combobox implements IdSpace
public void appendItem(String name, Object value) {
ComboItem item = new ComboItem(name, value);
if (getFellowIfAny(name) == null)
item.setId(name);
String id = AdempiereIdGenerator.escapeId(name);
if (getFellowIfAny(id) == null)
item.setId(id);
this.appendChild(item);
}

View File

@ -17,6 +17,7 @@ import java.io.IOException;
import java.util.List;
import org.adempiere.util.Callback;
import org.adempiere.webui.AdempiereIdGenerator;
import org.adempiere.webui.adwindow.ADWindow;
import org.adempiere.webui.apps.ProcessDialog;
import org.adempiere.webui.apps.wf.WFPanel;
@ -133,7 +134,8 @@ public abstract class TabbedDesktop extends AbstractDesktop {
final ADWindow adWindow = new ADWindow(Env.getCtx(), windowId, query);
final DesktopTabpanel tabPanel = new DesktopTabpanel();
tabPanel.setId(adWindow.getTitle()+"_"+adWindow.getADWindowContent().getWindowNo());
String id = AdempiereIdGenerator.escapeId(adWindow.getTitle());
tabPanel.setId(id+"_"+adWindow.getADWindowContent().getWindowNo());
final Tab tab = windowContainer.addWindow(tabPanel, adWindow.getTitle(), true);
tab.setImage(IN_PROGRESS_IMAGE);
tab.setClosable(false);

View File

@ -26,6 +26,7 @@ package org.adempiere.webui.panel;
import java.sql.Timestamp;
import java.util.Properties;
import org.adempiere.webui.AdempiereIdGenerator;
import org.adempiere.webui.LayoutUtils;
import org.adempiere.webui.component.ComboItem;
import org.adempiere.webui.component.Combobox;
@ -314,7 +315,9 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
for(int i = 0; i < m_clientKNPairs.length; i++)
{
ComboItem ci = new ComboItem(m_clientKNPairs[i].getName(), m_clientKNPairs[i].getID());
ci.setId(ci.getLabel());
String id = AdempiereIdGenerator.escapeId(ci.getLabel());
if (ci.getFellowIfAny(id) == null)
ci.setId(id);
lstClient.appendChild(ci);
if (m_clientKNPairs[i].getID().equals(initDefault))
lstClient.setSelectedItem(ci);
@ -360,10 +363,9 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
for (int i = 0; i < roleKNPairs.length; i++)
{
ComboItem ci = new ComboItem(roleKNPairs[i].getName(), roleKNPairs[i].getID());
if (lstRole.getFellowIfAny(ci.getLabel()) != null) {
ci.setId(ci.getLabel()+"_"+i);
} else {
ci.setId(ci.getLabel());
String id = AdempiereIdGenerator.escapeId(ci.getLabel());
if (lstRole.getFellowIfAny(id) == null) {
ci.setId(id);
}
lstRole.appendChild(ci);
if (roleKNPairs[i].getID().equals(initDefault))
@ -417,7 +419,9 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
for(int i = 0; i < orgKNPairs.length; i++)
{
ComboItem ci = new ComboItem(orgKNPairs[i].getName(), orgKNPairs[i].getID());
ci.setId(ci.getLabel());
String id = AdempiereIdGenerator.escapeId(ci.getLabel());
if (ci.getFellowIfAny(id) == null)
ci.setId(id);
lstOrganisation.appendChild(ci);
if(orgKNPairs[i].getID().equals(initDefault))
lstOrganisation.setSelectedItem(ci);

View File

@ -55,6 +55,7 @@ public class WindowContainer extends AbstractUIPart
{
tabbox = new Tabbox();
tabbox.setSclass("desktop-tabbox");
tabbox.setId("desktop_tabbox");
Tabpanels tabpanels = new Tabpanels();
tabpanels.setVflex("1");

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="lib/selenium-server-standalone-2.27.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/selenium-server-standalone-2.27.0.jar" sourcepath="lib/selenium-server-2.27.0-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/fitlibraryweb-2.0.jar" sourcepath="lib/fitlibraryweb-2.0-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/log4j-1.2.16.jar"/>
<classpathentry exported="true" kind="lib" path="lib/fitnesse.jar"/>

View File

@ -8,7 +8,6 @@ import java.util.List;
import org.idempiere.ui.zk.selenium.Widget;
import org.idempiere.ui.zk.selenium.Zk;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import fitlibrary.annotation.SimpleAction;
@ -53,17 +52,18 @@ public class ZkFixture extends SpiderFixture {
return widget.$n(webDriver, "real").getAttribute("Value");
}
@SimpleAction(wiki = "|''<i>comboBox</i>''|xpath, id or other locator|''<i>select item</i>''|label of item|", tooltip = "Changes the selected item in the given comboBox.")
@SimpleAction(wiki = "|''<i>combobox</i>''|xpath, id or other locator|''<i>select item</i>''|label of item|", tooltip = "Changes the selected item in the given comboBox.")
public boolean comboboxSelectItem(String locator, String label) {
Widget widget = new Widget(locator);
widget.execute(webDriver, "setValue('"+label+"')");
widget.execute(webDriver, "fireOnChange()");
WebElement element = widget.$n(webDriver, "real");
element.clear();
element.sendKeys(label);
element.sendKeys(Keys.ENTER);
element.click();
waitResponse();
return label.equals(element.getAttribute("value"));
}
@SimpleAction(wiki = "|''<i>comboBox</i>''|xpath, id or other locator|''<i>select item at</i>''|index|", tooltip = "Changes the selected item to the nth one, in the given comboBox.")
@SimpleAction(wiki = "|''<i>combobox</i>''|xpath, id or other locator|''<i>select item at</i>''|index|", tooltip = "Changes the selected item to the nth one, in the given comboBox.")
public boolean comboboxSelectItemAt(String locator, int index) {
Widget widget = new Widget(locator);
widget.execute(webDriver, "open()");
@ -78,6 +78,69 @@ public class ZkFixture extends SpiderFixture {
return false;
}
// ---- Tabbox ----
@SimpleAction(wiki = "|''<i>tabbox</i>''|xpath, id or other locator|''<i>select tab at</i>''|index|", tooltip = "Changes the selected tab to the nth one, in the given tabbox.")
public void tabboxSelectTabAt(String locator, int index) {
Widget widget = new Widget(locator);
WebElement element = (WebElement) widget.eval(webDriver, "getTabs().getChildAt("+index+").$n('cnt');");
element.click();
}
@SimpleAction(wiki = "|''<i>tabbox</i>''|xpath, id or other locator|''<i>select tab</i>''|label|", tooltip = "Changes the selected tab in the given tabbox.")
public void tabboxSelectTab(String locator, String label) {
Widget widget = new Widget(locator + " @tab[label=\""+label+"\"]");
widget.$n(webDriver, "cnt").click();
}
@SimpleAction(wiki = "|''<i>selected tab</i>''|xpath, id or other locator|", tooltip = "Get the label of the selected tab in the given tabbox.")
public String selectedTab(String locator) {
Widget widget = new Widget(locator);
return (String) widget.eval(webDriver, "getSelectedTab().getLabel()");
}
// -------- Wait Ajax Response -----
@SimpleAction(wiki = "|''<i>wait response</i>''|", tooltip = "Wait for ajax response with default timeout value.")
public void waitResponse() {
waitResponseWithTimeout(5000);
}
@SimpleAction(wiki = "|''<i>wait response with timeout</i>''|timeout|", tooltip = "Wait for ajax response with set timeout value.")
public void waitResponseWithTimeout(int timeout) {
long s = System.currentTimeMillis();
int i = 0;
int ms = 500;
String script = "!!zAu.processing() || !!jq.timers.length";
while (i < 2) { // make sure the command is triggered.
while(Boolean.valueOf(getEval(script))) {
if (System.currentTimeMillis() - s > timeout) {
break;
}
i = 0;//reset
sleep(ms);
}
i++;
sleep(ms);
}
}
protected String getEval(String script) {
return String.valueOf(executeJavaScript("return ("+ script+");"));
}
/**
* Causes the currently executing thread to sleep for the specified number
* of milliseconds, subject to the precision and accuracy of system timers
* and schedulers. The thread does not lose ownership of any monitors.
* @param millis the length of time to sleep in milliseconds.
*/
protected void sleep(long millis) {
try {
Thread.sleep(millis);
} catch (InterruptedException e) {
}
}
class ZkFinder implements Finder {
@Override

View File

@ -5,10 +5,13 @@ import static org.junit.Assert.fail;
import java.util.concurrent.TimeUnit;
import org.idempiere.ui.zk.selenium.Widget;
import org.idempiere.ui.zk.selenium.Zk;
import org.junit.After;
import org.junit.Before;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
@ -41,11 +44,12 @@ public class AbstractTestCase {
}
protected void select(WebElement select, String label) {
select.findElement(Zk.jq(".z-combobox-btn")).click();
try {
Thread.sleep(500);
} catch (InterruptedException e) {}
select.findElement(Zk.jq("$"+escape(label))).click();
WebElement element = select.findElement(By.tagName("input"));
element.clear();
element.sendKeys(label);
waitResponse();
element.click();
element.sendKeys(Keys.TAB);
}
protected void clickCheckbox(String locator) {
@ -56,10 +60,74 @@ public class AbstractTestCase {
driver.findElement(Zk.jq(locator)).click();
}
protected void selectTab(String locator, int index) {
Widget widget = new Widget(locator);
WebElement element = (WebElement) widget.eval(driver, "getTabs().getChildAt("+index+").$n('cnt');");
element.click();
}
protected void selectTab(String locator, String label) {
Widget widget = new Widget(locator + " @tab[label=\""+label+"\"]");
widget.$n(driver, "cnt").click();
}
protected String selectedTab(String locator) {
Widget widget = new Widget(locator);
return (String) widget.eval(driver, "getSelectedTab().getLabel()");
}
/**
* Waits for Ajax response with default timeout value.
*/
protected void waitResponse() {
waitResponse(5000);
}
/**
* Waits for Ajax response according to the timeout attribute.
* @param timeout
*
*/
protected void waitResponse(int timeout) {
long s = System.currentTimeMillis();
int i = 0;
int ms = 500;
String script = "!!zAu.processing() || !!jq.timers.length";
while (i < 2) { // make sure the command is triggered.
while(Boolean.valueOf(getEval(script))) {
if (System.currentTimeMillis() - s > timeout) {
break;
}
i = 0;//reset
sleep(ms);
}
i++;
sleep(ms);
}
}
public String getEval(String script) {
return String.valueOf(((JavascriptExecutor) driver).executeScript("return ("+ script+");"));
}
/**
* Causes the currently executing thread to sleep for the specified number
* of milliseconds, subject to the precision and accuracy of system timers
* and schedulers. The thread does not lose ownership of any monitors.
* @param millis the length of time to sleep in milliseconds.
*/
protected void sleep(long millis) {
try {
Thread.sleep(millis);
} catch (InterruptedException e) {
}
}
protected void login() throws Exception {
driver.get(baseUrl);
Thread.sleep(500);
waitResponse();
// enter user name
type("$loginPanel $txtUserId", "GardenAdmin");
@ -94,7 +162,7 @@ public class AbstractTestCase {
break;
} catch (Exception e) {
}
Thread.sleep(1000);
sleep(1000);
}
return driver.findElement(loginUserQuery);
}
@ -129,7 +197,7 @@ public class AbstractTestCase {
@After
public void tearDown() throws Exception {
driver.quit();
//driver.quit();
String verificationErrorString = verificationErrors.toString();
if (!"".equals(verificationErrorString)) {
fail(verificationErrorString);

View File

@ -12,11 +12,11 @@ public class ChangeRoleTest extends AbstractTestCase {
public void testLogin() throws Exception {
login();
Thread.sleep(2000);
waitResponse();
driver.findElement(Zk.jq("$changeRole")).click();
Thread.sleep(1000);
waitResponse();
// wait for home page
selectRole("GardenWorld", "GardenWorld User", "HQ");

View File

@ -0,0 +1,27 @@
package test;
import static org.junit.Assert.*;
import org.junit.*;
/**
* Web Driver + zk jq selector, doesn't required AdempiereIdGenerator
* @author hengsin
*
*/
public class SelectTabTest extends AbstractTestCase {
@Test
public void testSelectTab() throws Exception {
login();
waitResponse();
select("$treeSearchCombo", "Product");
waitResponse();
clickButton("$findWindow_1 $simpleSearch $btnOk");
waitResponse();
selectTab("$Product_1 $detailPane @tabbox", 2);
assertFalse("Business Partner".equals(selectedTab("$Product_1 $detailPane @tabbox")));
waitResponse();
selectTab("$Product_1 $detailPane @tabbox", "Business Partner");
assertEquals("Business Partner", selectedTab("$Product_1 $detailPane @tabbox"));
}
}