- The parameter types supported by Qualitia QTP / UFT are String, integer, and Array.
- Error Resume Next Statement
Add the On Error Resume Next statement at the beginning of the function and the On Error Goto 0 statement before the function end.
Info |
---|
For Example, Function Test() On Error Resume Next On Error Goto 0 End Function |
...
The required value, strValue will be stored in the variables strKey and it can be used across the test case to retrieve the variable value.
- Using or Passing integer values in Qualitia
To use any value as an integer inside the custom action, make sure to use Cint() and specify the data type as String while mapping the custom action in QFD.