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
How to handle the exceptions using recovery secnario manager in quicktest professional?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
How do you send email with attachment from outlook using qtp ?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
What test you perform mostly? Regression or retesting in your testing process?
How to integrate the qualitycenter with qtp
how to idetfy which test cases are automated?who will deside that plz tell me
Explain about the quicktest professional (qtp) automation object model?
How to use checkpoints in qtp ?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
Explain the new feature of UFT regarding the export of test results?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project