Forum Discussion

rmariano's avatar
rmariano
New Contributor
4 years ago
Solved

Error with AutoWait Timeout with Collapsing an Accordion Filter

I need some help.   I've running a test that has an accordion filter. The initial state of the filter is collapsed and the action that needs to be taken is to expand and select a sub filter.    W...
  • sonya_m's avatar
    sonya_m
    4 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 Criteria 

    Required 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.