Page 1 of 1

Identifying objects of desktop application created using FoxPro

Posted: Tue Jun 11, 2019 9:15 am
by raghunath.shesha
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.

Re: Identifying objects of desktop application created using FoxPro

Posted: Tue Jun 11, 2019 3:23 pm
by odklizec
Hi,

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.