To find culture of my application under test(AUT)

Ask general questions here.
sivakumaran
Posts: 20
Joined: Fri Dec 18, 2015 8:07 am

To find culture of my application under test(AUT)

Post by sivakumaran » Tue Jan 19, 2016 8:36 am

Hello.

object identification is language dependent
meaning the ranorex xpath has language specific strings

in order to customize these path according to the current application culture
I would want to find the culture of my application under test.

Can somebody help me how to find that culture of my application under test?

regards,
Siva

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

Re: To find culture of my application under test(AUT)

Post by odklizec » Tue Jan 19, 2016 2:39 pm

Hi,

I think what you are looking for is something like this:

Code: Select all

System.Globalization.CultureInfo.CurrentCulture;
For more details about CurrentCulture property check this MSDN page:
https://msdn.microsoft.com/en-us/librar ... 90%29.aspx
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