What is the use of "Registeruserfunc" when should we use
it?
Note:Please do not copy paste the date from QTP help.
I tryed it.But I don't Understand where should we use
exactly.
Answer Posted / anish pillai
RegisterUserFunc in QTP can be used for both Method
Overriding as well as Method Reuse.
In method overriding, we can override the default
implementation of the function and replace with a new custom
implementation. For example, we can create a function, say
fnClick, which will not only click on an element, but it
also first verify if the element we want to click exists and
is enabled.
In method reuse, we can create a function which we can bind
with multiple controls & then use this function for all
these controls. For example, we can create a function
fnClick, which can be used to click on a button, on a link
on an image and so on. Refer below link for more details -
http://www.automationrepository.com/2011/12/how-to-achieve-method-overriding-and-reuse-using-registeruserfunc-in-qtp/
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the basic concept of quicktest professional (qtp)?
How to start recording using quicktest professional?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
What are the different attributes used with regular expression?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
What are the Test design techniques you uses in ur project?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
Differences between quicktest professional (qtp) and winrunner?
banking domain description for software tester for interview
Discuss quicktest professional (qtp) environment?
What is the keyword view and expert view in qtp?
what is impact analysis on regression testing?
How QTP support all types of applications (platforms)?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?