VAPI-XP-TEST QC parameter example
Question ID: 104579
3
0

Does anyone have an example of using parameters in an XAPI-XP-TEST?

Marked as spam
Posted by (Questions: 5, Answers: 1)
Asked on August 28, 2012 8:49 am
225 views
Answers (1)
3
Private answer

Here is a very simple example.

Remember to set the Actual Value in the Test Instance of the Test Set.

Sub Test_Main(Debug, CurrentTestSet, CurrentTSTest, CurrentRun)
If CurrentTSTest.Params.Count > 0 Then
'Output the parameters
Set TSParams = CurrentTSTest.Params
With TSParams
msgbox ''The number of items in the list is '' & .Count
For i = 0 To .Count -1
msgbox ''Parameter name is '' & Trim(.ParamName(i))
msgbox ''Value :'' & Trim(.ParamValue(i))
msgbox ''Type :'' & Trim(.Type(i))
Next
End With
End If
End Sub

Marked as spam
Posted by (Questions: 0, Answers: 613)
Answered on August 28, 2012 9:17 am
0
Thanks for the tip to use Actual Value instead of Default value.
( at August 28, 2012 9:19 am)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top