Hi Yavor Nikolov,
Much Thanks!! for your updates.
I am trying to use this variable >>clinical_item_key as a global variable. For doing which i am trying to create test suite with >>clinical_item_key as mentioned below and then call that variable in concurrent test pages with _:clinical_item_key.
Please suggest me idea on how to create it. Is it possible to create a suite set up page as below,
!|Import|
|fitnesse.fixtures|
!|SetUp|
And then call the variable _:clinical_item_key in the test pages.
I am using something like below,
I create a suite page (localhost:8085/FixtureWorkSuite) as below,
|Query|select * from allergy where clinical_item_key in (_:clinical_item_key_a)|
|clinical_item_key|severity_code_key?|
|<<clinical_item_key_a|>>severity_code_key|
|Query|select * from allergy where clinical_item_key in (_:clinical_item_key_a)|
|clinical_item_key|severity_code_key|
|<<clinical_item_key_a|<<severity_code_key|
In the above suite page i am defining the value for clinical_item_key_a and in the test page i am using the value by returning the value to where condtion.
But when i run the suite the suite runs without error but the associate test page throws the below error message,
Query
java.lang.RuntimeException: Symbol 'clinical_item_key_a' does not exist
at dbfit.util.SymbolUtil.validateSymbolExists(SymbolUtil.java:71)
at dbfit.util.SymbolUtil.getSymbol(SymbolUtil.java:19)
at dbfit.util.FitNesseTestHost.getSymbolValue(FitNesseTestHost.java:20)
at dbfit.api.AbstractDbEnvironment.createStatementWithBoundFixtureSymbols(AbstractDbEnvironment.java:114)
at dbfit.fixture.Query.getDataTable(Query.java:43)
at dbfit.fixture.RowSetFixture.doRows(RowSetFixture.java:87)
at fit.Fixture.doTable(Fixture.java:154)
at fit.Fixture.interpretFollowingTables(Fixture.java:120)
at fit.Fixture.interpretTables(Fixture.java:106)
at fit.Fixture.doTables(Fixture.java:80)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at fit.FitServer.main(FitServer.java:41)
Please help me to know where i am going wrong. Thanks!
Regards,
Arun Karunakaran