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
What is Associate Repository in QTP 9.2 ?
Where we use data driver in qtp?
explain abt dyanamic changing object with example?
what you mean by artifact,milestone...
What is Unicode Compatibility?
What are the technologies supported by qtp?
Explain the new feature of UFT regarding the export of test results?
what kind of frame work you used in your last project?
What is action? How many types of actions are there in qtp?
Which environments are supported by hp qtp?
Why script error occur in between recording in qtp?
Which recording modes need more memory?
Why we load add-ins in qtp?
How will internal and external links be validated and updated? how often?
What is the keyword view and expert view in qtp?