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
how to prepared for first for the first interview?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
What test cases can you automate using QTP?
Give me some real time point of way where exactly we can conduct audits?
What is smart identification in QTP?
Object repositories types, which and when to use?
Explain about the test fusion report of quicktest professional (qtp)?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Explain types of output values?
How to handle the exceptions using the recovery scenario manager in qtp?
Where to use Property Let, Property Get, Property Set in UFT
describe some problems that u had with automating testing tool?
What is object spy in quicktest professional (qtp)?
how to convert 100 into hundred repees only and viceversa
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?