Run Ranorex as Administrator through Jenkins

Ask general questions here.
palvirani
Posts: 11
Joined: Fri Mar 27, 2020 11:51 am

Run Ranorex as Administrator through Jenkins

Post by palvirani » Thu Apr 09, 2020 4:33 am

Hello Guys,

While executing the Ranorex automation on Jenkins, I am getting this error.
[WPF.Core]: UI elements in your 'WPF.Core' AUT can't be identified because it couldn't be instrumented automatically. Restart all Ranorex tools and the AUT with the same privileges, preferably as an administrator.

and execution is getting failed.
Note:- My Jenkins Server is up manually and running with "Run as administrator"

Ranorex Version- 9.2.1

User avatar
N612
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: Run Ranorex as Administrator through Jenkins

Post by N612 » Thu Apr 09, 2020 8:05 pm

It appears Ranorex is accidentally trying to identifying part of itself (WPF.Core) and having trouble doing so. Upgrading Ranorex may resolve this issue. Alternatively, you can Whitelist your AUT so that Ranorex is only looking at your AUT or simply ignore this warning as it is just a warning for something that is not part of your AUT.

Ranorex 9.3.1 - https://www.ranorex.com/download/Ranorex-9.3.1.exe
Whitelisting - https://www.ranorex.com/help/latest/ran ... telisting/

palvirani
Posts: 11
Joined: Fri Mar 27, 2020 11:51 am

Re: Run Ranorex as Administrator through Jenkins

Post by palvirani » Fri Apr 10, 2020 10:46 am

After installing version 9.3.1, My floating licence stops working. It shows me green mark in the floating licence window. but giving configuration error. Screenshot here. And in version 9.2.1, It was working fine.
licence error.png
licence error.png (35.94 KiB) Viewed 193 times

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

Re: Run Ranorex as Administrator through Jenkins

Post by odklizec » Fri Apr 10, 2020 10:51 am

Hi,

Apparently, your existing Ranorex license does not cover 9.3.1? You must renew your license or go back to last version, which works with your license. If you open Ranorex Studio 9.2.1, there should be a license information (remaining or expired time) displayed in right top corner of the Ranorex information page.
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

palvirani
Posts: 11
Joined: Fri Mar 27, 2020 11:51 am

Re: Run Ranorex as Administrator through Jenkins

Post by palvirani » Sun Apr 12, 2020 4:31 am

Thank you Sir, But I am not able to find the link to download. 9.2.1 on Ranorex Website. Can you please help me here?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12167
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Run Ranorex as Administrator through Jenkins

Post by Support Team » Mon Apr 13, 2020 9:32 pm

.
Image