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 |
what is run-time object property in Object spy in QTP9?
how can i add an action(external action) programmatically?
Can you list some technologies that support qtp?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How can you close the second opened browser?
Give me brief idea about QTP automation object model?
How to open any application during Scripting?
How to change the priorities of the recovery scenario properties?
what is command for executing files?
Diff b/w Health care domain and Banking Domain?
What is Object Spy?
How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words