Forum Discussion

testcomplete's avatar
testcomplete
Occasional Contributor
14 years ago

How to register user defined functions?

In QTP we use to create user define function for eg: button,textfield....etc and register them. So that while coding we will make use of those user defined functions (Eg: button--> click)



Like wise we need to create some user defined functions in test complete. May I know the steps to do this?

1 Reply


  • Hi Amarajothi,





    You cannot add custom methods to existing objects, however, you can implement a number of functions and pass the needed objects to the functions as parameters.