Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. B..

Answer / hemakumar.m

ExecuteFile "Path of vbs file"
Call Login()

Is This Answer Correct ?    4 Yes 0 No

how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. B..

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

how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. B..

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

Post New Answer

More QTP Interview Questions

How many types of recording modes in qtp? Describe each type with an example where we use them?

0 Answers  


What is the advantage of associating a procedure with a test object?

1 Answers  


Explain in brief about the QTP Automation Object Model.

1 Answers  


how you have used object libraries? plzzzzz do answer

1 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

4 Answers  


what is the difference between seat and concerent licenses.

3 Answers   AppLabs, TCS,


How to handle the errors without using recovery scenery?

3 Answers  


write a test script in QTP to test the text that written in an image(i.e jpg)of a web page???

0 Answers  


How to call a function in QTP?Is there any method ? Thanks , PRASANNA

2 Answers  


how many types of actions r there? what r they? explain? pls give any one answer?

3 Answers   IBM,


Can anybody post some real time scenario in qtp? please its very urgent.

0 Answers   Kanbay,


can onyone tell me how to comapre the output of two different Data Bases in QTP?

1 Answers  


Categories