Object Priority Different
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Object Priority Different
Hi,
I'm having a problem with the object priority in TestComplete when the application is opened through "TestedApps.App.Run()" command.
For example, when the application is manually opened the TestComplete shows the object like:
Obj.Pane.Text
In case opening the application through the TestComplete command the same object will be:
Obj.Client.Text
Does someone know how I can fix that problem? Or had a similar problem?
I have searched but didn't find anything similar in the community.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's my guess:
You might actually have the same object mapped two different ways in your NameMapping. I would investigate your NameMapping to make sure that you have the object uniquely identified. As far as I know, for MOST applications, there shouldn't be any difference betwen thoses lauch methods.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's not the case, because I don't use the NameMapping feature. The object shows these paths even looking in the Object Spy.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interesting. Can you share screenshots demonstrating this difference?
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Vinicius,
Did you find an answer to your question? Please share your solution with us.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would not say that is a solution, but for now, the machine that presented the problem was not presented anymore.
I've uninstalled the TestComplete, restart the machine and then search for all the folders and the items on Windows Registry removing all references that I found.
I think this topic can be closed, if the problem happens again in another machine I will try to get some screenshots or anything that can help us to understand better how the problem happens.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply!
Happy testing
Tanya Yatskovskaya
SmartBear Community and Education Manager
