ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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.
 Question Submitted By :: Santhoshkumar.appajis
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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.
Answer
# 1
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 ?    1 Yes 0 No
Supriya
 
  Re: 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.
Answer
# 2
ExecuteFile "Path of vbs file"
Call Login()
 
Is This Answer Correct ?    3 Yes 0 No
Hemakumar.m
 
 
 
  Re: 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.
Answer
# 3
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
Sunnyk8
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ? CTS5
How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?  1
What are the Automation Limitations??  1
how qtp handles customised object  1
1. how can you handle exceptions without using recovery scenario? TCS3
What expansion of "MIC" in MICPASS (TEST ReportPAGE) TCS6
Tell about descriptive programing in qtp8.2? GE4
Tell about automation object model(Aom) in qtp? GE6
1.how can we report the QTP test result in a different excel sheet 2. Aurigo3
how to merge object repositories?  4
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance... Navis2
Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?  1
I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME AZTEC53
Can you tell me any books or websites to learn VB Script for QTP ??  1
what is vss and cvs what is main difference b/w these two  2
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.  5
I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible? Rogers4
how would you go for testing a web application like any jobsite?(using manual n qtp)..pls frnds its very urgent ..i need realtime answers...thanks in advance Wipro2
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people GE3
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com