While automating test application we encounter challenges of identifying custom controls, Quick Test(QTP) .NET Add-in Extensibility enables high-level support for third party and custom .NET controls that are not supported as default .NET controls for .NET Windows & Web Forms (etc. other Add-ins).
As QuickTest recognizes the Test Object (TO) or Runtime Object(RO) as belonging to specific object class, and identification properties & methods of the test objects. With extensibility support QuickTest Professional (QTP) recognizes custom .NET Windows Forms controls more distinctively and enhancing test object methods to perform operations on it, during test script step creation or recording on controls that are not supported.
For using this feature we have to develop custom server that extends .NET Add-in interfaces that run methods on the controls in the application. This Extension using Custom Sever can also override or add new function /methods for custom controls for application under test.
Developing .NET Add-in Extensibility Support Set
We can implement .NET Add-in Extensibility support by
– Defining the test object model: custom server canbe implemented in one of the following coding options
a.) .NET DLL
b.) XML , based on a schema