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

why the smart identification is not there in WinRunner

1 Answers   DigiTech,


when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,


WHY U CHOOSE TESTING FIELD?

6 Answers   CybAge, TCS,


How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely

3 Answers  


what is difference betweem class annd object?

1 Answers  


How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario.

4 Answers   Arsin Systems,


Is it possible to split an action? How?

0 Answers  


how to capture objects of remote deskop as it is capturing only window.

1 Answers   Wipro,


What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

0 Answers   Accenture,


Can we install QTP on remote server and access it as a web application on other system (client place)? If so please let me know. Thanks in advance, Ravi

2 Answers  


How open an excel sheet in QTP(not a run time )?

4 Answers   Tech Mahindra,


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

0 Answers   Wipro,


Categories