where is the code for "solution 3"

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
exm1110b
Posts: 6
Joined: Thu Jun 11, 2020 9:24 am

where is the code for "solution 3"

Post by exm1110b » Thu Jun 11, 2020 9:28 am

hi,
in the page https://www.ranorex.com/help/latest/int ... eshooting/

under " Test executable not started by a Ranorex tool" there's a 3rd solution, with a code alternative
only there's no code listed, what's the code?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: where is the code for "solution 3"

Post by Support Team » Thu Jun 11, 2020 6:58 pm

Hello exm1110b,

Thank you for bringing this to our attention, I have notified our documentation team for corrections.

Regards,
Sean

exm1110b
Posts: 6
Joined: Thu Jun 11, 2020 9:24 am

Re: where is the code for "solution 3"

Post by exm1110b » Thu Jun 11, 2020 6:59 pm

thanks, till they correct this, can you at least provide the code here?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: where is the code for "solution 3"

Post by Support Team » Thu Jun 11, 2020 7:20 pm

Of course!

C#
if (Util.IsRestartRequiredForWinAppAccess)
return Util.RestartWithUiAccess();

VB.NET
If Util.IsRestartRequiredForWinAppAccess Then Return Util.RestartWithUiAccess()