Forum Discussion
3 Replies
Sort By
- sastoweSuper ContributorTake a look at the help topics on the various FIND methods. You can find your object based on known property values, iterate through an array of objects... Not sure the best solution for you.
- tristaanogreEsteemed ContributorAs Stephanie pointed out, use the Find methods to be able to find an object based upon more properties than just the name and assign it to a variable in your scripts.
The other option is to utilize NameMapping which will essentialy do the same thing... you can apply an Alias to an object that is mapped based upon a set of properties that make that object unique. So, while the object may have the same name, other things like caption, child objects it contains, etc., would give the object a different identifier in your name mapping. - TanyaYatskovskaSmartBear Alumni (Retired)
Robert, Stephanie, thanks for your answers! Guys, you rock! This is what fast help means!
Also, I want to add that there is a great video on our web site that shows how to use Robert and Stephanie's suggestions in TestComplete:
Related Content
- 5 years ago
- 4 years ago
- 4 years ago