Error after updating Ranorex version to 10.1.1

Ranorex Studio, Spy, Recorder, and Driver.
shruti Kapur
Posts: 20
Joined: Tue Jan 17, 2017 11:22 am

Error after updating Ranorex version to 10.1.1

Post by shruti Kapur » Tue Sep 07, 2021 8:21 am

Hello , After updating the ranorex version from 9.3 to 10.1 i start getting this error while running the tests on agent machine via Jenkins.
error CS0103: Der Name 'TestingBootstrapper' ist im aktuellen Kontext nicht vorhanden.

can you help here.

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

Re: Error after updating Ranorex version to 10.1.1

Post by odklizec » Tue Sep 07, 2021 8:32 am

Hi,

Have you completely uninstalled Ranorex on the target machine, before installing 10.1.1? If not, please do it. Do full uninstall and then clean install of 10.1.1. And then rebuild whole project on source machine, before running it via agent.
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

shruti Kapur
Posts: 20
Joined: Tue Jan 17, 2017 11:22 am

Re: Error after updating Ranorex version to 10.1.1

Post by shruti Kapur » Fri Sep 10, 2021 8:17 am

Thank you for the solution but unfortunatly i get the same error.
Der Name 'TestingBootstrapper' ist im aktuellen Kontext nicht vorhanden.

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

Re: Error after updating Ranorex version to 10.1.1

Post by odklizec » Fri Sep 10, 2021 10:54 am

Hi,

Have you tried to install Ranorex Studio on the target machine and run the test via Studio (on the target machine)? Also, have you updated Ranorex agent on the target machine?
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

shruti Kapur
Posts: 20
Joined: Tue Jan 17, 2017 11:22 am

Re: Error after updating Ranorex version to 10.1.1

Post by shruti Kapur » Fri Sep 10, 2021 12:46 pm

The agent machines ahve been updated already.
Yes the Tests works fine locally on target machine. Only when reqest is run via Jenkins it gives error.

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

Re: Error after updating Ranorex version to 10.1.1

Post by odklizec » Mon Sep 13, 2021 7:08 am

Hi,

And the same test worked OK with version 9.3? Is the agent started as Administrator?

Also, please try to run the test remotely (via Studio) from your local machine on that particular Jenkins machine (with installed Ranorex agent).
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

shruti Kapur
Posts: 20
Joined: Tue Jan 17, 2017 11:22 am

Re: Error after updating Ranorex version to 10.1.1

Post by shruti Kapur » Mon Sep 20, 2021 10:56 am

Hello ,

The same works fine when run though local machine to agent machine.

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

Re: Error after updating Ranorex version to 10.1.1

Post by odklizec » Mon Sep 20, 2021 11:18 am

OK, the test works fine via agent, if started from local machine (via command line)? So it's only a Jenkins-related issue? Have you tried to delete content of Jenkins job workspace (Ranorex source files) and content of windows tempt folder?
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