cancel
Showing results for 
Search instead for 
Did you mean: 

Changing UI elements

Highlighted
Not applicable

Changing UI elements

I'm new to TestComplete and about to start using it for a new app currently in dev. 

Can Key Word Driven testing handle changing UI elements? What effect would changing UI elements have on the automated test script?  Does anyone know if there is any information available about TestComplete dealing with changing UI elements?

Ideally what I'd like to determine is - 'this can be changed and is a minimal issue but this will cause big problems if changed, etc

Thanks

Bridgette
2 REPLIES 2
Highlighted

Hi Bridgette,




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 also 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 - Overview' help topic for more information.

--
Dmitry Nikolaev

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

And If you want to avoid the dependency on the pre-mapped parents hierarchy you could write script that'll  find the object you expect on the screen at the run time using find child method on the most parent object that's sure to appear in all combination's.

Syed Ahmed Safvan

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors