Change Recording Name leads to Error

Ask general questions here.
Ahmad
Posts: 26
Joined: Tue Apr 09, 2019 7:29 am
Location: Berlin

Change Recording Name leads to Error

Post by Ahmad » Sun Jun 28, 2020 11:32 am

Hello all,

When I rename the recording module, it makes an error after build the selution.
Der Name "Init" ist im aktuellen Kontext nicht vorhanden. (CS0103)

Thank you.

Regards,
Ahmad

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

Re: Change Recording Name leads to Error

Post by odklizec » Mon Jun 29, 2020 6:28 am

Hi,

I believe that "Init" is a reserved keyword, which must not be used as a module name! So rename your module to something else and the error should be gone ;)
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

Ahmad
Posts: 26
Joined: Tue Apr 09, 2019 7:29 am
Location: Berlin

Re: Change Recording Name leads to Error

Post by Ahmad » Mon Jun 29, 2020 10:36 am

Hello Odklizec,

thank you for your replay.

But I did not rename the recording module to the "init", the error appears regardless of the name.

Regards,
Ahmad

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

Re: Change Recording Name leads to Error

Post by odklizec » Mon Jun 29, 2020 10:53 am

Hi,

I see. What Ranorex version do you use? Could you please post entire solution (zipped) for review? You can zip it via menu Tools >> Compress solution and open folder. Of course, you can compress it also manually, outside Ranorex Studio, but in this case, exclude Reports, Obj and Bin folders.
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