Sign up ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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:

<Control Type="ControlTypeName" MappedTo="SwfCheckBox"></Control>

Note that this will not work in all cases, but with lightweight similar controls, it is worth a try before writing your own implementation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.