Forum Discussion

Daniellovesmith's avatar
Daniellovesmith
Contributor
7 years ago

Overriding methods

 In UFT, we  had an option to override the existing method with the use of RegisterUser Function. For example : if we a method called Set Text then we can create our own custom operation which we can use in the test script. 

1 Reply

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Methods provided by TestComplete cannot be overridden. Methods in your test code can be in case this is supported by the given scripting language (e.g. JavaScript).