12-06-2016 01:26 AM
Hi,
I'm newbie in teststand, so may I know is there any way to log my database according to UUT result Passed/Failed into two different mdb file, which one will collect all the info for UUT with Passed Status and another for Failed status. Is it by editing the schema of database or any other method?
12-06-2016 08:12 AM
Yes this is possible but it will take some customization of your sequence file (or process model). You need to modify both the connection object and the connection string. Here is an example.
Hope this helps!
Trent
12-06-2016 04:41 PM
On second thought, altering the schema may be much easier that my previous suggestion.
In the Result Processing dialog, you can create two database logging instances - one for each database. Then create a schema for each database and modify the Precondition for UUT Result:
If UUT-Result isn't logged, the other tables shouldn't be either. Using preconditions Logging.UUTResult.Status == "Passed" and Logging.UUTResult.Status != "Passed", should work for your pass/fail conditions.
Note that you will need to enable both of the instances:
Hope this helps!
Trent
12-06-2016 07:29 PM
Hi,
Thanks a lot for your kind reply, I'll try then come back later. Goodday.