Largent803
4 years agoContributor
Selecting child elements inside a textnode
I have a parent textnode which populates what looks like a menu option. What I need is to be able to at random select the one of these elements. I have created a csv with the necessary information i...
- 4 years ago
Hi,
> The parent is hidden to me.
This is just not possible. Use Object Browser or Object Spy to examine the structure of your tested application and figure-out what elements you need for your test code and how these elements can be found. Then either add them to the NameMapping or (if stable and reliable mapping is inconvenient or not possible) write a code to search for the required element during runtime.
P.S. White TestComplete does its best to map elements during recording, this is not recommended for production use. The better approach is to examine the tested application before recording, map required elements so they are identified stably and uniquely and only then record your actions.