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 quicktest professional window?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
How does quicktest professional identifies the object in the application?
How to replay a script in qtp?
What is difference between shared and local object repository?
How do you create regression test packs?
How does you pass optional arguments in qtp?
Where we can use the analog mode and where we can use the low – level mode?
What is the difference between byref and byval in qtp?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
When should I use smart identification?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
Your roles and responsibilities and daily tasks? (As automation tester)
Explain about datafile/verification of date file when file is not available in local system?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?