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 |
How to load an object to a object repository at RUN TIME ?
Can anybody give the code for ALL DATATABLE METHODS)(ex: datatable.getrowcount, datatable.getsheet etc....) and ALL DATABASE COMMANDS (like .getcelldata, which are used to retrieve data from a database and from a webtable)with examples.
What is the difference between gettoproperty and settoproperty?Explain with an example?
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....
Shall we add Local Repository to shared object repository,if yes,how we add
what is web application and client server application.is there any difference ?
What is the maximum size of Object Repository in QTP 8.2?
Why qtp the best testing tool?
I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE
I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.
how can i pass a "cript"as a parameter in to a function
At a time how many users can access QTP?