Hello, I would like to add a user method to an object. In QTP there is a command called "RegisterUserFunc" that allows me to add a user method that will be available for a specific type of objects....
Just create the MyCustomMethod() function and pass browse.MainTable to it as a parameter.
Regardless of the type of call (browse.MainTable.MyCustomMethod(Params) or MyCustomMethod(browse.MainTable, Params)) the access to the MainTable internals will be the same.