Ask a Question

Object shifted in app

SOLVED
piotrtulazinski
New Contributor

Object shifted in app

Hi All,

 

I have an issue with test complete.

All object in app where frontend is written in javaFX are shifted like in example.

Cancel button is recognized higher than it is.

App is in full screen mode.

Can you advise?

 

cancel_button.png

5 REPLIES 5
mikef
Staff

Hi @piotrtulazinski 

 

Is this an existing test now failing due to some change, or a brand new test? Could you show a screenshot of the test? I'd like to discern how the object is being recognised and mapped, either by NameMapping, attribute or Screen Coordinate.

 

You may be able to extend the recognition by using Object Mapping.

 

thanks

 

Marsha_R
Community Hero

Hi @piotrtulazinski 

 

I see that the mapping is off.  Is that from using Object Spy or are you looking at the name mapping and using it to view the object?  Do you get the correct object information anyway?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

Hi,

 

All it's written in Python, these are an existing tests.

Got whole test repository from someone who left company without explaining me anything.

I've lost working VM and need to setup new one for regression.

On new VM all tests are failing, looks like the TestComplete can't aim on buttons/fields, all is shifted.

Below is an example of selecting plus ("+") button which should add new tab in application.

Thank you for your help!

Przechwytywanie.PNG

Hi,

 

If I select this shifted red field I'm getting correct object information.

For me logging level is to high, I would like to know more what is going on with the code.

Thank you for your help!

 

obj_info.PNG

 

Hi,

 

Thank you for your assist.

It was related to the scaling of a remote session - I had to change it from 125% to 100%.

Everything is very small but it's working. 

cancel
Showing results for 
Search instead for 
Did you mean: