Hi,
i want to use the get<ParameterName>Options method to dynamically set values for a field from DB.
my issue is using the db SO since i am trying to configure this method under a bean object i am using.
is there a way to get the DB SO used by the test using this bean, or is my only option instanciating the db so myself thus loosing the SUT planner functionality?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What do you mean by a bean? Are you using the bean parameter provider? If you do, how does it interacts with the options function?
Anyway, If everything else fails, you can just write the configuration to an external files and read it from a system object that you would implement that extends the database system object.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
let me rephrase the question,
how can i invoke my DB SO before running the test?
the purpose of this is to get list of values for parameter dynamically from the DB
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i want to use the get<ParameterName>Options method to dynamically set values for a field from DB.
my issue is using the db SO since i am trying to configure this method under a bean object i am using.
is there a way to get the DB SO used by the test using this bean, or is my only option instanciating the db so myself thus loosing the SUT planner functionality?
What do you mean by a bean? Are you using the bean parameter provider? If you do, how does it interacts with the options function?
Anyway, If everything else fails, you can just write the configuration to an external files and read it from a system object that you would implement that extends the database system object.
let me rephrase the question,
how can i invoke my DB SO before running the test?
the purpose of this is to get list of values for parameter dynamically from the DB
like this (true example I used in the past):
Last edit: Hovav 2014-02-04
yes, seems like this is exactly it.
thanks Hovav