Printer FriendlyEmail Article Link

Spirent TestCenter-Automation: Handle getting changed after applying the configuration.

Environment/Versions
  •  Spirent TestCenter
Answer
  • When you edit a PDU in STC, *sometimes* some objects are in fact getting destroyed and replaced with new objects.
  • So the new objects get new handles, but it appears to the user that the handles on existing objects got changed.
  • Handles in STC are generated dynamically, so hard-coding them in general will not necessarily work (although you might get lucky and find it works occasionally).
  • We should retrieve the handle value dynamically and assign it to a variable, which can then be used for other instances

Product : Automation,Spirent TestCenter