Looking for more information on a build error.

Ranorex Spy, Recorder, and Studio.
cartographer7
Posts: 5
Joined: Tue Sep 13, 2016 10:54 pm

Looking for more information on a build error.

Post by cartographer7 » Mon Mar 13, 2017 7:12 pm

In Ranorex Studio I'm encountering a build error, and all it's telling me is "Failed to update code for [recording]. The user code class has compile errors". The "extended error information" that shows up when I click on the error doesn't actually tell me anything that's not in the error already. Does anyone know how to get more information from Ranorex on what went wrong? I've got 6.1 running on Windows 7.

(I know some people here could probably help me solve the problem directly, and I may yet ask for that kind of help, but for now I'm looking for tools to figure out how to solve it myself if I can.)

Thanks!

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

Re: Looking for more information on a build error.

Post by odklizec » Tue Mar 14, 2017 8:10 am

Hi,

At first, Ranorex 6.1 is too old and no longer supported. I would strongly recommend to update to latest 6.2.1.

At next, without seeing your project/solution, or at least the recording/code module where the build fails, it's next to impossible to tell what's wrong. What you can try is to set the Report Level to "Debug" (right click on a top level item in Solution tree and from the appeared menu select Report Level >> Debug).

My guess is that there is a missing/redundant parenthesis in your code? ;)
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

cartographer7
Posts: 5
Joined: Tue Sep 13, 2016 10:54 pm

Re: Looking for more information on a build error.

Post by cartographer7 » Tue Mar 14, 2017 6:55 pm

The upgrade did it. It now gives me actual information, in this case "unrecognized escape sequence" with a line number, which let me solve the problem.

Thanks!