Page 1 of 1

Losing my focus due to the Ranorex Console

Posted: Thu Apr 05, 2018 10:23 am
by Hamed.S
Dear Ranorex Team,
first of all I am quite new to Ranorex
and not really into coding so probably my question isn't worth a thread but since I don't find an easy solution I just thought I will give it a try. :D

Sometimes the Ranorex Console, the black box thingy that shows a bunch of information, pops up in front of my program and Ranorex
won't find the elements in my program. Only by manually clicking and refocusing my program, Ranorex
is able to find them again. Also, pressing ALT+TAB works but I really don't want to use this approach since they seem not really stable to me.
I also tried to [Invoke action| focus()| myProgram] but that doesn't work as well.
Any suggestion/idea?

Sincerely HS

Re: Losing my focus due to the Ranorex Console

Posted: Thu Apr 05, 2018 11:23 am
by odklizec
Hi,

You can disable console window by compiling your project as Windows application. Check the screenshot...
WindowsApp.png

Re: Losing my focus due to the Ranorex Console

Posted: Thu Apr 05, 2018 12:59 pm
by Hamed.S
Works like a charm. Ty :D