How can the functions inside DLL be called from QTP?
i mean How can i use those functions(Inside DLL) in QTP
Answer / 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 |
how will you load the test cases in ddt?
How can i initiate the objects to find uniquely in OR
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!
How you can find length of array in qtp?
In qtp,how to interact tool & application build?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Which statement will use for close an action in QTP?
How to handle the exceptions using recovery secnario manager in quicktest professional?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
How to load an object to a object repository at RUN TIME ?
what is the difference between Automation object model(AOM) and test object model(TOM)
How does QTP identifies the object in the application?