cancel
Showing results for 
Search instead for 
Did you mean: 

Feature Request "Add object here" to allow adding an object at a top-level well identified node

SOLVED
Highlighted
Occasional Contributor

Feature Request "Add object here" to allow adding an object at a top-level well identified node

It would be really usefull if the object spy could be made to work relative to a specified node in the name mapping.  Eg Right-clicking a well identified node and selecting "add object here" which then opens the spy tool.   Extended-find will then be used to ensure the object is found at test-run-time.

 

As it is TC forces new mappings to map objects, creating upteen parent DIV/Panel objects with little or no identifable properties which then must be carefully removed afterwards.  If not they clutter the object map and cause problems at test-run-time or when new objects are added, duplicated objects for instance.

 

This allows a top-down approach to be used to manage the object map rather than the bottom-up approach inherent in the Spy tool.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Feature Request "Add object here" to allow adding an object at a top-level well identi

@jpr348 Did you try the Map Child Objects feature?

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: Feature Request "Add object here" to allow adding an object at a top-level well identi

@jpr348 Did you try the Map Child Objects feature?

View solution in original post

Highlighted
Community Manager

Re: Feature Request "Add object here" to allow adding an object at a top-level well identi

Thanks for posting this, @jpr348. Could you please check if Marsha's suggestion works for you?

If you still need a new feature to be implemented, please submit a feature request here: https://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

Re: Feature Request "Add object here" to allow adding an object at a top-level well identi

Thanks.  That does work.  I noticed TC always has the "allow this option to be found at any level" checkbox enabled by default and the resulting mappings are not attached to it's parent but some other top level parent. 

 

(Using extended find causes us problems and messes up our name mapping so I've stopped using it except as an absolute last resort where no static mappings cannot be used.)

 

Also by default TC extremelly sparse ID's when automatic mapping is used which along with extended find is a recipe for mis-recogition.  I've started to use templates with an increased numbers of properties which has massively improved the reliabilty of object recognition and speed of testing.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors