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 |
where u maintain qtp scripts in ur company
write script for , launching fr window,login and create 5 elements array and store 5 order numbers inthat array? and open order by using order no.s in array and find out maximum tickets booked by which order?
how to upload an excel sheet to quality center?
hi all i have qtp 9.0, Active screen is not working means after recording script snap shots not displayed in Active screen window. i have all ready check all setting means Tool...>option...>Active screen...>Default Level button is disabled. Is there other setting is remain to set Pls help i m new for qtp
Hi, Any one have the crack for QTP 10.0,if so could you please send it to phanijuly10@gmail.com
What is the process of synchronizing qtp and aut?
I want some banking domain projects where can i get this projects ( anybody can help me plz)
What are the disadvantages of recording test cases in qtp?
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..
Give a comment on Regular Expressions using QTP?
Will QTP gets installed on virtual PC.What is the maintenance number to be given
what are the design objects in qtp