Object Action Spots - using different dev and runtime boxes

Ask general questions here.
qa-auto
Posts: 32
Joined: Mon Aug 05, 2019 10:46 pm

Object Action Spots - using different dev and runtime boxes

Post by qa-auto » Wed Sep 04, 2019 2:58 pm

Hi, everyone,

I'm developing tests on my windows box then running them on a remote VMWare windows instance.

Some validations and clicks are failing; I'm noticing action spot problems, such as the error saying the click area is outside the scope of the window. Do you have develop and run on exactly the same box?

For example:
Dev
support21.png
support21.png (19.63 KiB) Viewed 69 times
Runtime
qa-r.png
qa-r.png (38.24 KiB) Viewed 69 times
What about if you have a laptop for travel and you want to work on the development of tests? The sizes are different also. Can you manually update the values? If so, which ones?

Thanks for your help.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5071
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Object Action Spots - using different dev and runtime boxes

Post by odklizec » Thu Sep 05, 2019 6:53 am

Hi,

I think the best solution of this issue, is setting Action Spot to Center in each already recorded action. And for future, you can set Ranorex to record all new actions with 'Center' action spot, by switching Coordinate recording mode from 'Pixel' (default value) to 'None'. Hope this helps?
CoordinateRecordingMode.png
CoordinateRecordingMode.png (6.61 KiB) Viewed 43 times
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration