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 can the functions inside DLL be called from QTP?
i mean How can i use those functions(Inside DLL) in QTP
 Question Submitted By :: Sandipgami84
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP
Answer
# 1
This part is a two step process…

Declare the method using Extern.Declare 
Example
Extern.Declare 
micHwnd, “FindWindow”, “user32.dll”, “FindSomeWindow”, 
micString, micString

Here:
micHwnd -the data type of value returned by method 
FindWindow -the user supplied procedure name. You can set 
it to anything as long as it’s a valid syntax. 
user32.dll -the DLL from where you wish to call the method 
FindWindowA -The actual method name inside the DLL 
Last two are the data types of the arguments that will be 
passed to the procedure
 
Is This Answer Correct ?    1 Yes 0 No
Jay Prakash
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Can we call a parameter from an action to other action?  4
can any one tell me how to select some text.i need the script for that  1
While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts  2
How do u insert an object during runtime in qtp?  2
How you r using QTP in u r project Lehman-Brothers1
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks  3
QTP is used better in which type of application Web based application or desktop application  2
How QTP recognize the object??how to add objcts into object repository??  1
what is reusable action and how the same can be implemented (process)?  2
how will we run batch tests in qtp what is the process to run the multiple test sets?  3
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?  1
. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why? Polaris4
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?  1
Waht is Test Report , What it consists?  2
i want 8.2 and 9.2 dacuments plhelp any body sand it to my id sandhyat1@yahoo.co.in Siloka3
Explain about merging of two repositories?  3
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.  2
I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..  2
Tell me the QTP Advantages and Disadvatages ? Accenture3
Can you tell me QTP is support for GIS(Geography Information System) Based Software.  1
 
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