Error with AutoWait Timeout with Collapsing an Accordion Filter
- 5 years ago
Looks like you got solutions from the Support Team! Let me post them here, too:
>>
Our solution would depend on the object hierarchy structure, but the ultimate solution would be to have the click operation performed on an object that contains the text of the filter (for example, a "Category Filter" text node object), In name mapping, this object would be recognized by the filter name. This means that even if the order of the filters changes, TestComplete will still find the correct filter because it is using the name of the filter.
If the parent object it the dynamic object, we would simply make sure the parent is also using the filter's name as a property for identification. We could also use required children to require a child object that does have the filter name if the parent object does not. Information on editing name mapping properties and using required children can be found in the links below:
Basic Mapping CriteriaRequired Children
Ultimately, as long as the object is able to be located no matter what position its in, then we can simply preform the click action on this object.<<
I'll go ahead and mark this as a solution.