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 |
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
0 Answers Sapient, Satyam, TCS,
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?
8 Answers INCA, Infosys, Logix, SLK Software, Symphony, Wipro,
What is the another extention name of library file.If that is exist than what's the differnce between them.
How can we check whether a particular sheet loaded (existed) or not in Data Table.
whare exactly we have to use functions and sub routain
how do u handle an object without name using QTP 9.2?
Why u don’t like recording the script and writing the script
When we use Object Spy? can we write QTP script before built is came in testing?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
What are the different ways to invoke an application using QTP?
Explain how you can delete excel file in qtp?
WHAT IS ENVIRONMENT VARIABLES?