Sunny -
I thought that the SequenceCallParameter class exposed the parameter name, but it does not. It should and I will see if I can add that in the future.
The simple way would be to use the PropertyObject class as shown below:
Scott Richardson (NI)
Public Sub AccessStepInfo(oContext As TS.SequenceContext)
Dim oStep As TS.Step
Dim oActualArgs As TS.PropertyObject
Dim iItems As Integer
Dim i As Integer
Dim sString As String
Set oStep = oContext.Sequence.GetStepByName("SequenceCall", StepGroup_Main)
Set oActualArgs = oStep.AsPropertyObject().GetPropertyObject("TS.SData.ActualArgs", 0)
iItems = oActualArgs.GetNumSubProperties("")
For i = 0 To iItems - 1
sString = sString & o
ActualArgs.GetNthSubPropertyName("", i, 0) & vbCr
Next i
MsgBox sString
End Sub
Scott Richardson
https://testeract.com