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 to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
what is the abbrivation of .mtr in action reposirtory?
Can we call a parameter from an action to other action?
Hello Friends, I am working with QTP 9.2 descriptive programming. Can you please let me know how to work with below. Browser is IE, for my site, it opens another page with different browser name, For example Parent Page is google.com and child page is inteview questions. How to work with this second page.
Is it possible to convert QTP scripts to Silk scripts?
what is the difference between call to copy action and call to an existing action
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
Explain about import and export files?
1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
How to create runtime property for an object?