03-31-2015 08:55 AM
I'm using TestStand 2012 SP1. I'd like to be able to configure the Active Configuration for results in the process model. A station running our sequential model would set the Sequential Reporting configuration as the active configuaration while a station running a Batch Model would set the Batch Reporting as the active configuration. Furthermore, if a station can do both, the application run would select the proper process model and it would then select the proper reporting configuration.
I've got configurations setup but need to know how to set the active configuration. I don't want this on a per sequence basis, but rather at the process model level so it is run once and done. This would allow for developers to modify their configuration but still have the Batch or Sequential Reporting selected depending on what they are working on.
Thanks.
Solved! Go to Solution.
04-01-2015 08:18 AM
So there are a couple options here:
If it were me I'd go with option 3 for your case. You can use Parameters.ModelData.ModelType to determine which model they are running with. Then you just have to set Locals.ModelPluginConfigurationToLoad to the correct configuration.
Hope this helps,
04-06-2015 06:55 AM
Thanks,
I was hoping to not touch the ModelSupport.seq but doesn't look like any way around it. This looks to work fine in my testing.
04-06-2015 07:59 AM - edited 04-06-2015 08:01 AM
Glad it helped. Unfortunately there isn't a hook from a secondary model to a main process model. You could put a sequence call in ModelSupport that called back into the process model. Then in each model change the value returned.
Regards,
04-06-2015 08:02 AM
Yes, we don't want it to be test sequence dependent. Want it to deploy to test stations automatically and not allow developers to override to guarantee uniformity.