Ask a Question

Two System Object spy inspect different on two different machines

SOLVED
djvakarjoshi1
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

 

 

5 REPLIES 5
Wamboo
Community Hero

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.

djvakarjoshi1
Occasional Contributor

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.

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...

sonya_m
SmartBear Alumni (Retired)

Thank you for helping Wamboo.

Hi @djvakarjoshi1 , have you tried this advice?


Sonya Mihaljova
Community and Education Specialist

No problem. Nice to hear I can help.

cancel
Showing results for 
Search instead for 
Did you mean: