Identifying objects of desktop application created using FoxPro

Ranorex Spy, Recorder, and Studio.
Posts: 1
Joined: Tue Jun 11, 2019 8:47 am

Identifying objects of desktop application created using FoxPro

Post by raghunath.shesha » Tue Jun 11, 2019 9:15 am

I am facing issues with the Objects identification of a desktop application created using FoxPro. When using Spy the text field or a button is shown on a different location of the application and we are unable to locate the fields using xPath. We doesn't have a proper ID for every element. Mouse clicks are not working hence the test cases is getting failed. Record and play back is also getting failed most of the times.
Can anyone give a better idea on how to test an application built using FoxPro.

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

Re: Identifying objects of desktop application created using FoxPro

Post by odklizec » Tue Jun 11, 2019 3:23 pm


I'm afraid, it's impossible to suggest something reliable without, at very least, a Ranorex snapshot of the application under test (AUT). Could you please post a Ranorex snapshot (NOT screenshot) of the AUT? This would help us to evaluate the UI you are working with and eventually, suggest the best approach/workaround. It may be possible, that instead of using Record&Replay, you may need to construct the xpaths manually, using ancestor/descendant and other elements as anchors? But as mentioned, it's next to impossible to suggest something reliable, without Ranorex snapshot. Thanks.
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