How to load vbs functions in qtp
Answers were Sorted based on User's Feedback
Answer / ananymousb
U can directly use the function
ExecuteFile "vbsfunctionname.vbs"
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / bfakruddin
ExecuteFile "path of file"
this is useful for only one action where you have mentioned
this line
if your test should contain that vbs file you need to go for
menu item "File" --> "Settings" --> "Resources" --> click on
+ button and show the path of your .vbs file
it will take effect on all test
| Is This Answer Correct ? | 3 Yes | 0 No |
How do you write an SQL insert statement?
Is vbscript a case-sensitive or case-insensitive?
How can I write HTML text to the window in VB Script?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
Which function is used to perform string comparison?
Which in-built function is used to format the number in the vbscript language?
Write a Script for ATM in QTP
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
How will you get the octal value of the given number in vbscript?
What is the equivalent of VBScript?s On Error In Jscript ?