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 many types of recording modes in qtp? Describe each type with an example where we use them?
What is the advantage of associating a procedure with a test object?
Explain in brief about the QTP Automation Object Model.
how you have used object libraries? plzzzzz do answer
What are SetToProperty, SetRoProperty, GetToProperty scripting?
what is the difference between seat and concerent licenses.
How to handle the errors without using recovery scenery?
write a test script in QTP to test the text that written in an image(i.e jpg)of a web page???
How to call a function in QTP?Is there any method ? Thanks , PRASANNA
how many types of actions r there? what r they? explain? pls give any one answer?
Can anybody post some real time scenario in qtp? please its very urgent.
can onyone tell me how to comapre the output of two different Data Bases in QTP?