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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 use library files in QTP? how we can call these 
files in to script?
 Question Submitted By :: Chandana
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to use library files in QTP? how we can call these files in to script?
Answer
# 1
add it to resource OR if you required during run-time use 
ExecuteFile " ..\absolute path "
 
Is This Answer Correct ?    1 Yes 0 No
Priyank
 
  Re: How to use library files in QTP? how we can call these files in to script?
Answer
# 2
Hi priyank 

can u plz explain in detail with validations, it is very 
use full for us.

Thank U
 
Is This Answer Correct ?    1 Yes 0 No
Chandana
 
 
 
  Re: How to use library files in QTP? how we can call these files in to script?
Answer
# 3
We can load the external Library files by using 2 ways:
1.	Choose Test > Settings > Choose Resources tab > 
Choose + button so select the library file > browse and 
select the library file > click Ok.

2.	We can load the library files using Scripting:
Use executefile function to load library files.
Example: 
executefile "C:\Documents and 
Settings\ukumar\Desktop\Sample.vbs"
x=10
y=5
result=SumOfTwoNumbers(x,y)
msgbox(result)


'Code in External Library file(.vbs file).
'Public function SumOfTwoNumbers(a,b)
'Dim sum
'sum=a+b
'SumOfTwoNumbers=sum
'End Function
 
Is This Answer Correct ?    4 Yes 0 No
Uday Kumar_anem
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus  1
How to use the Object spy in QTP 8.0 version?  2
what is the abbrivation of .mtr in action reposirtory? GE5
what is reusable action and how the same can be implemented (process)?  2
does the vb script knowledge is mandatery in testing using QTP  1
Explain key word driven frame work?How to use in real time? HP2
in qtp how we work with out put values and what is the process?  4
I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2nd place to 3rd place Etc… in my webpage. I wanted to write script for dynamical objects like above example. Could you please send me the answer for above query. IBM9
how much space occupies in object respository by default? VSoft5
hi,which is the best book to refer QTP 9.2 and Faq's.  1
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp Logica-CMG2
what is key word driven frame work how to use keyword driven frame in QTP in a project AppLabs1
Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that... EDS3
h u call the function Wipro5
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp  2
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761  1
WHAT IS ENVIRONMENT VARIABLES? CTS4
There are 4 webpages in an application, in third page there is one cancel button i want to click that cancel button only, how can I click that cancel buttton ? Wipro4
what will be there in keyword view and expert view?  1
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp  7
 
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