What Does the TestStand CallStackDepth Property in the RunState Describe? Primary Software: TestStandPrimary Software Version: 3.5 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I am maintaining a previously created TestStand application and have found a few steps to contain a precondition involving the RunState's CallStackDepth property. In particular, these steps will only run if the sequence's CallStackDepth is greater than 0. What does this property mean? Solution: The CallStackDepth property returns the sequence call depth of the sequence context in the current execution. The call depth refers to the number of nested sequences that were called before reaching the sequence containing the property. For example, if you were to call a Sequence using the Test UUT or Single Pass entry points the Sequence's CallStackDepth value would be equal to 1. The Sequence's CallStackDepth value would be equal to 1 because the Process Model was responsible for calling this Sequence. The Process Model would be the first Sequence being called and have a CallStackDepth value of 0. On the other hand, if you call your Sequence using Run Main Sequence, no Process Model would be used to call the Sequence and your Sequence's CallStackDepth property would have a value of 0. Related Links: Manual [323435A-01]: TestStand Reference Manual Attachments:
Report Date: 03/14/2006 Last Updated: 03/20/2006 Document ID: 3VD7FJO8 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
