I have a third party check box control in my AUT that QTP does not recognize. Is there a way to have QTP treat it as a regular .NET check box?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
In the HP > QTP > Dat directory there are XML configuration files for each of the plugins loaded into QTP. The .NET file is called SwfConfig.xml. In this file, you can tell QTP how to interact with the control types it sees. In this case, you can define the following:
Note that this will not work in all cases, but with lightweight similar controls, it is worth a try before writing your own implementation.