cancel
Showing results for 
Search instead for 
Did you mean: 

Object Priority Different

SOLVED
Occasional Contributor

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Occasional Contributor

Re: Object Priority Different

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. 

6 REPLIES 6
Community Hero

Re: Object Priority Different

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
[Community Expert Group]
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
Extensions available
Occasional Contributor

Re: Object Priority Different

It's not the case, because I don't use the NameMapping feature. The object shows these paths even looking in the Object Spy.

Community Hero

Re: Object Priority Different

Interesting.  Can you share screenshots demonstrating this difference?


Robert Martin
[Community Expert Group]
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
Extensions available
Community Manager

Re: Object Priority Different

Hi @Vinicius,

 

Did you find an answer to your question? Please share your solution with us.

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Occasional Contributor

Re: Object Priority Different

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. 

Community Manager

Re: Object Priority Different

Thanks for your reply!

Happy testing

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video: