How to get Step Name atribute programmatically

Hello.
Is this attribute part of the Keysight editor?
I would like to somehow get the “Step Name” into my c# program and store the string in a variable.

I usually write the attributes by myself with a description and some settings in my c# program.

The problem is that in my whole c# solution I can’t find this attribute and also I didn’t write the description so I don’t know where it is.

Can someone please help me with this?

Thank you very much, Jakub.


Hi @jakub ,

You should be able to call TestStep.Name or TestStep.GetFormattedName(), depending on if you want before or after formatting.

Do you have access to the TestStep instance?

Problem solved, thank you very much @rolf_madsen :slight_smile: