Managing Repositories for Different Versions of Windows

Ask general questions here.
Hondo
Posts: 43
Joined: Thu Nov 03, 2016 12:03 am

Managing Repositories for Different Versions of Windows

Post by Hondo » Thu Dec 01, 2016 12:43 am

Kind of a general question. Searched and RTFMd a bit.

Most of my Ranorex development and testing is done in Windows 10. (strictly a desktop app.)
On occasion, I need to move a script to a Windows 7 workstation.

The AUT UImapping is working good. I might have to update a high level Root Folder xPath..but that's all. No big whoop.

It's the validation test steps done in the OS that require a complete UImap rewrite.. e.g. click Start > Run
Not a big surprise, easy enough.

But it appears (in Windows 7) I have to completely ditch the Windows 10 Repository from the project to dispense of a cascade of errors before I can run any part of the script on Windows 7.

How best to manage the same script (and Repositories) between Windows 10 and Windows 7?

Thanks!

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

Re: Managing Repositories for Different Versions of Windows

Post by odklizec » Thu Dec 01, 2016 8:15 am

Hi,

Could you please post a Ranorex snapshot of your app from Win7 and Win10, plus an example of xpath that typically fails? You see, it's hard to suggest something reliable without seeing at least snapshots/xpaths. Typically, this kind of issue should be fixable by making the xpaths more flexible. So there should be no need of a separate repository per OS. But as mentioned, it's hard to say what you should do without some samples.
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

Hondo
Posts: 43
Joined: Thu Nov 03, 2016 12:03 am

Re: Managing Repositories for Different Versions of Windows

Post by Hondo » Thu Dec 01, 2016 7:19 pm

Hey Thanks.

Through the exercise of gathering the xPath data.. I have seen the light!

Sokath, his eyes uncovered!!

Thanks again.