How to call .vbs functions in QTP? plz Explain indetail
Answer Posted / bfakruddin
Above two answers are correct but they forgot to explain
about the differences of those?
1. Call .vbs file
Test Settings-->Resources-->+ button-->show the path of .vbs
file-->Click OK button
Click the "Check Syntax button"
It is available for all actions in the test. If you click
"Set as Default" It will be available for all the new Tests.
In Test Pane.
Call functionname(parameters)
or
var=functionname(parameters)
msgbox var
2. Executefile "path of .vbs" file
It is used to execute the function dynamically but it is
used for only particular action,
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the features and benefits of quick test pro(qtp)?
How will you test a keyboard?
How can I change object description or check point values in qtp?
What are parameterizing tests?
What are the views available in qtp?
Which environments are supported by hp qtp?
How many add-ins comes by default with qtp?
What are the check points can be inserted without recording?
What is qtpro? What is a quick test professional?
How can get count of list box?
if numbers are always changing write a script for that
what is run-time data?
Define object spy ?
What is the synchronization point in qtp?
Why to use descriptive programming?