cancel
Showing results for 
Search instead for 
Did you mean: 

Two System Object spy inspect different on two different machines

SOLVED
Highlighted
Occasional Contributor

Two System Object spy inspect different on two different machines

Hi,

 I am having two machine in which one machine spies the "Open" button correctly.

 

And then on second machine same application machine does not inspect open button.

 

Please suggest me solution for the same.

 

I have attached the screenshot of the same

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Leader

Re: Two System Object spy inspect different on two different machines

It is very hard to debug something without project and code but...

 

This is just an image, check on what properties TestComplete is maping this object?

 

You can also try to search dynamically for this object using .findxxx() or waitxxx().

 

In my opinion, a great solution for you is Image Repository or Text Recognition Technology.

 

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/text-recognition/...

 

https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/image-repository/ind...

View solution in original post

5 REPLIES 5
Highlighted
Community Leader

Re: Two System Object spy inspect different on two different machines

Yo,

1)

Try to compare values between projects from:

Tools -> Current Project Properties -> Object Mapping

 

Search there for any differences.

 

2) Compare values from NameMapping options:

Tools -> Options -> Engines-> Name Mapping

 

3) Record steps with "record script" options and search for differences.

Highlighted
Occasional Contributor

Re: Two System Object spy inspect different on two different machines

When I did record and play, and checked with namemapping. 

 

Highlight for open button is incorrect. but in one machine highlight is corrcetly placed.

 

Please see the attachment.

Highlighted
Community Leader

Re: Two System Object spy inspect different on two different machines

It is very hard to debug something without project and code but...

 

This is just an image, check on what properties TestComplete is maping this object?

 

You can also try to search dynamically for this object using .findxxx() or waitxxx().

 

In my opinion, a great solution for you is Image Repository or Text Recognition Technology.

 

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/text-recognition/...

 

https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/image-repository/ind...

View solution in original post

Highlighted
Community Manager

Re: Two System Object spy inspect different on two different machines

Thank you for helping Wamboo.

Hi @djvakarjoshi1 , have you tried this advice?



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Community Leader

Re: Two System Object spy inspect different on two different machines

No problem. Nice to hear I can help.