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 are the advantages of QTP over WinRunner?
What is object spy in quicktest professional?
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
Write VB script to test given number is Prime Number
Are You using any frame work? What is that? Explain about that.
What’s the QTP testing process?
when u script reveiwing in which area u more concentrates?
What is meant by Step Generator in Qtp How is it used? pls gimme in detail
how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?
How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.
How to recognize and read data from pdf file using Descriptive Programming in QTP?