10-26-2018 04:50 AM
At one of my sequence file i, I need to get the string value at "configure>> DatabaseOptions>>datalink>>connectionstring expression" , bu I could not find the proper function at the Teststand API.
Is it possible to get that value? And How can I manege to do that?
Note-1: I could not use "DatabaseOptions" call back to get this information , as a result of some architectural decisions that made before.
Note-2: SEQ file use standart "batch model" at the run time.
10-29-2018 02:52 PM
Hi Ziyasen,
There should also be a "LogToDatabase" Sequence within the Batch Model that will have the string you are looking for under Parameters >> Database Options >> ConnectionString.
Is this something you can use, or is this not available due to the aforementioned architectural decisions, as with the DatabaseOptions call back?
Best,
10-29-2018 11:54 PM
Hi Tyler,
Unfortunately, I could not use database options callback, as you know at the the batch model first "get model options" is called than after a while "get report options" and " get database options" is called, in order.
So the data link info is not ready until get database options is executed, but what I need is, to get database data link info at the "get model options" phase.
I need to read "UUT number" from corparate database by using "data link path" and update correctly "paramaters.modeloptions.numtestsockets", accordingly. And then required number of batches will start to run by using test stand batch model, and so on...