Is the testsuite executed through RanorexAgent?

Best practices, code snippets for common functionality, examples, and guidelines.
jozistrozer
Posts: 1
Joined: Tue Aug 24, 2021 8:37 am

Is the testsuite executed through RanorexAgent?

Post by jozistrozer » Tue Aug 24, 2021 8:42 am

Hello,

I want to know if you can check in user code (C#) if the test was ran from the ranorex remote agent?

I've looked through the documentation and I can't seem to find an object or method that returns the information about the agent.

Is this possible?

Thank you.

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

Re: Is the testsuite executed through RanorexAgent?

Post by odklizec » Tue Aug 24, 2021 3:34 pm

Hi,

Could you be a bit more specific about what exactly you want to achieve? When do you want to check that? After executing the test suite? I somehow don't see the purpose of this request? You should see if the test was properly executed by getting the test report at the end of test. Or am I missing something obvious? ;)
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