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
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
How does qtp identify objects in the application?
Is the qtp course will help to create a virtual object?
Define object spy ?
How we can import data from database?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
can test automation improve test effectiveness?
In qtp, explain what is qrs file?
How to find the name of the machine where you are running your automation scripts in qtp?
how will you load the test cases in ddt?
How does qtp identify gui object?
Is it possible to change the property value at runtime? How it is possible?
How to handle Java tree in QTP?