how to call a funtion in a script? i have saved the login
scipt in notepad. with extension .vbs. But when i am
calling the function with the keyword CALL <Function Name>.
its not working out. can any one give me a clue how to call
the external functions. with example.
Answers were Sorted based on User's Feedback
Answer / hemakumar.m
ExecuteFile "Path of vbs file"
Call Login()
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / supriya
you have to associate the library function using file--
>settings-->resources
and then just call the function using its name
It will work
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sunnyk8
If it still wont work with either of these 2 options of
file-setings-resources & executefile "path of file" then the
problem is with the naming conventions
Naming conventions should b function functionname
---------------
---------
-----
End function
| Is This Answer Correct ? | 0 Yes | 0 No |
Write the vb script for the lowest and highest values of an array?
Definationions for keyword view and tree view?
What is Associate Repository in QTP 9.2 ?
Can any one please explain hwo to test client/server application using QTP?
How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....
Where virtual objects stores results?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
How to create a standard checkpoint ?
what all are the coverages , explain ?
WHAT IS ENVIRONMENT VARIABLES?
What information do the columns in the Keyword View show for each step?
· What should test in BANKING DOMAIN application ?