How to access Extended object properties in TestComplete

UI testing is a very tricky thing. Everything depends on how accurately test tool recognizes UI elements and theirs properties. In this particular topic I would like to tell you how some invisible and not obvious settings of TestComplete can improve recognition of UI object properties.
TestComplete with default settings does not always have access to Extended properties of these UI elements:

You can change it by going to Tools > Current Project Properties > Object Mapping and check the required component there (if it is supported by TestComplete).

After this you will be able to see additional category “Extended” in the Object Spy and access these properties in your test scripts:

The only one thing you should take into account is that the designer of the Object Mapping tree was probably drunk or used a very heavy drugs. In some cases it is not enough to check the object category (I spend several days by trying to configure support of our DevExpress XtraGrid component). In the picture below you see that XtraGrid component is checked:

but TestComplete Object Spy still doesn’t show the Extended properties. Expanding the XtraGrid shows that not all controls are checked

After checking them you will get expected Extended properties.
I hope it was helpful for you.

Comments

Popular posts from this blog

QA Chapter

Leader is not an individual contributor

Organizing UI automation testing