Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 6 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
with the above answer... you have a option to create a Virtual object for that!It will be helpful! Thanks! – Nidhi Chauhan Dec 1 '15 at 19:43
@nidhi I made this into a comment, since you can't comment yet. When you get 50 rep you can though... thanks for sharing! :) – corsiKa Dec 1 '15 at 20:11

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.