06-13-2023 10:10 AM
Hello,
I am looking for a flexible method in which to pass parameters in from a common test executive sequence to dynamically called test sequences. Here is what I currently have in place.
As long as the variable names and types match, all is good. This always true for the Test Sequence parameters. However, some test sequences do not use all of the Station or Part Number parameters so if the test executive populates the container with all of them, calling the test sequence generates an error. We could populate the test sequences with all Station and Part Number parameters but this will become unwieldly over time. Plus if a new Station or Part Number parameter is added in future, all test sequences have to be touched.
We found a work around which is emptying each container in the test sequences. This works because the test executive populates the parameters for the test sequence. However, I think this is not an ideal solution because it requires local variables for each parameter assigned a value with #NoValidation. I am looking for other suggestions.
Solved! Go to Solution.
06-14-2023 10:01 AM
Do I understand correctly, that you get an error, when "unexpected" / "unwanted" data is passed in your container down to the subsequence?
Are the containers type-def'ed? Have you tried disabling type check on the parameter?
06-14-2023 11:13 AM
Learn something new every day. Did not know that existed until now. Thanks! It works.