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 |
How u prepare Test result summary in QTp?
What is the differences between image check point and bit map check point?
How to associate shared object repository to test in qtp?
unique properties of button,edit box, radio button,check box?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
How do we Access, retriew and edit the runtime objects in Automation Testing using QTP
Test Life cycle starts IS it Requirments stage or Test Initiation?
Can we put more than one action in a single script???? yes or no.....
how do u handle an object without name using QTP 9.2?
Write a script to verify font style and color of a windows object using descriptive programming
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
Hi Samrat, Thank u very much, what u said it is right.