07-07-2009 06:26 AM
Hello
I am in situation to log additional result in DB from a custom step type, i have added a new string type variable [TEST_NUMBER] to result container of my custom step. After that i have tried to use [TEST_NUMBER]to be logged into DB by Logging.StepResult.TEST_NUMBER but on runtime i am getting an error as
An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred while setting a column value.
Schema: Copy of Generic Recordset
Statement: STEP_RESULT.
Column: TEST_NUMBER
Unknown variable or property name 'Logging.StepResult.TEST_NUMBER'.
Source: TSDBLog
Location: Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'
I am not able to trace where i am going wrong please help me.
Process used : Logging a New Step Property to a Database in TestStand
Regards
Nitin Goel07-07-2009 07:09 AM
Hi,
The trouble is that TEST_NUMBER is not defined in the default schema for STEP_RESULT.
You would have to modify the schema to include TEST_NUMBER.
Check out the Reference Manual Chapter 6. this may help.
Regards
Ray Farmer
07-07-2009 08:56 AM
Thanks for quick reply Ray.
I have already configured the schema and even the column [TEST_NUMBER] is present in the STEP_RESULT table. See attached pic for more info.
07-07-2009 03:52 PM
Hi,
Please find attached a screen shot of the schema that works for me.
Hope it helps.
Regards,
Don.