Rawtext does not work on different systems

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 19
Joined: Thu Jul 27, 2017 8:27 am

Rawtext does not work on different systems

Post by SteveBeck » Mon Jul 31, 2017 8:38 am


I am currently using Rawtext in my automations, and it works on most of the systems we are running on. However, 2 systems (Desktop w10, and a VM) are unable to work with RawText at all. The tests do not pick up the elements and if you use the Spy on those systems the elements do not include their RawText children.

RawText worked out of the box on the systems it is working on, are there other setup steps that I am missing?


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

Re: Rawtext does not work on different systems

Post by odklizec » Tue Aug 01, 2017 7:43 am


A most common reason of problem like this is that there is not the same Ranorex setting used on all systems? The GDI Capture List is stored in Ranorex setttings (rxsettings file) an so it must be distributed on all systems. The easiest way to assure Ranorex settings are distributed on all systems is to store them within the solution and solution itself should be distributed via version control system (SVN, TFS, GIT, etc).

Another possibility why rawtext is not identified correctly is, that the affected systems have installed different version of .net (or other libs) critical for Ranorex and so Ranorex behaves differently on these systems. So make sure all systems have installed the same versions of .net libs and vc runtimes.
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

User avatar
Posts: 488
Joined: Fri Jul 15, 2016 1:35 pm

Re: Rawtext does not work on different systems

Post by Stub » Tue Aug 01, 2017 8:31 am

IIRC, to get my use of RawText to work across systems I had to add my Process and Class names to the RawText Plugin - GDI Capture Settings in the solution, as odklizec notes. Once that was done I was able to see the RawText elements correctly.

However, I do have to cope with significant differences in what the GDI capture system detects between x86 and x64 applications. It's also different between OS', so I have code to manipulate its use differently between platforms and OS' e.g. Win7 vs Win10.