Using 32 and 64 bit pathes in x86 platform

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Oliver Kuttruff
Posts: 1
Joined: Sat Feb 02, 2013 5:13 pm

Using 32 and 64 bit pathes in x86 platform

Post by Oliver Kuttruff » Tue Dec 03, 2019 12:15 pm

Operating system: Windows 10 Pro 1903 64 EN
Ranorex: Version 9.1 (Solution is set to platform x86)


Test script:
1. The script installs different programs in silent mode.
2. Test script should check the registry according the new installed programs. For this the path for 32 Bit programs and 64 Bit programs should be checked.


Problem:
The Ranorex script checks only the registry path of the actual selected platform.
This meas if the Ranorex Solution is set to x86 platform, only the x86 registry path is searched.

Question:
How could this be solved?
Ranorex should search each registry path independent of the set solution platform.


Note:
Registry path of installed Programs 32 Bit:
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Registry path of installed Programs 64 Bit:
SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

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

Re: Using 32 and 64 bit pathes in x86 platform

Post by odklizec » Tue Dec 03, 2019 12:28 pm

Hi,

Without seeing the script, which you are using in your test, it's impossible to tell what's wrong. I guess the script, which checks the registry, has been written by you? Then it's up to you to write it in the way, which checks both 32 and 64 bit registry? Or am i missing something?
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