How can the functions inside DLL be called from QTP?
i mean How can i use those functions(Inside DLL) in QTP
Answer Posted / jay prakash
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 ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is output value? How many types of output values are there in qtp?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
What the differences are and best practical application of Object Repository?
What is text/text area checkpoint?
could any help me please, how to work on visual foxpro application using UFT
Difference between test object and run time object?
How will you declare a variable in qtp?
Explain object spy in qtp.
What are the two types of repositories available, explain them?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
can u explain relative path architecture framework in qtp?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
can anyone tell me from where i can download qtp demo or crack version
what is ODC and GDC?