| || |
I have read this document several times and cannot get the custom control extended support using a .NET DLL to work. We are running QTP 9.5 and Visual Studio 2005. We have a C# application that uses a 3rd party library from DataDynamics called SharpUI. These controls do not descend from base .NET classes and therefore are not recogonized by QTP. I just want to be able to set up a simple Replay method. I used the installed wizard to create my class. I followed instructions laid out in the document as well as the included comments. I have it mapped in SwfConfig.xml. I also have a Control Definition XML file to expose the added method. But none of it works. One thing I noticed is that there is a TODO comment to add constructor logic, but I did not have anything to add as my class is so simple. Any ideas?
Re: .NET Extensibility
What do you mean by: "I have it mapped in SwfConfig.xml"
You don't need to add constructor logic for a basic test. One thing you don't mention you've done is copying the configuration file from your vs project to the QTP configuration path (can't remember where, not at work).
Try setting a break point somewhere in your code, e.g. in constructor, hook your custom server to your AUT and start recording. Then you should break into the code.