Forum Discussion
Dmitry_Nikolaev
Staff
16 years agoHi Laxmi,
There is no special support for this control. The topic Ahmed mentioned is about ASP controls, not WPF.
>>1
As far as I understand, you have no problems when playing back the test, and you are just confused by the fact that you cannot find the controls in the Object Browser. Actually, the behavior you observe is normal. For WPF controls, combo box items are recognized as individual objects. Plus, you can locate the combo box items in the OB only if the combo box is expanded.
>>2
If changes in your application are associated with changes of objects' names, you can use the Name Mapping feature to give special mapped names to objects. However, when Name Mapping is used, you need to map not only the needed object, but all of its parent objects as well. So, if there are some changes in the object hierarchy, Name Mapping cannot avoid the objects availability problem. In this case, you can use another feature - Aliases. Objects mapped with the Aliases feature are available by their independent mapped names. Please see the 'Name Mapping' and 'Name Mapping Aliases' help topics for more information.
However, if the tested application's behavior changes, you will have to rewrite your test scripts.