Language specific validation

Class library usage, coding and language questions.
aggarwan
Posts: 1
Joined: Tue Dec 08, 2015 8:41 am

Language specific validation

Post by aggarwan » Tue Dec 08, 2015 9:19 am

File selection dialog is standard Microsoft control and its title is language specific. I have added a mouse click event on Tool bar where title is being checked.

At this step I would like to check what is my application/OS language and based on that I would like to pick language specific title from excel sheet.

Please suggest how I can achieve the same using Ranorex.

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

Re: Language specific validation

Post by Support Team » Thu Dec 10, 2015 1:30 pm

Hello aggarwan,

In order to get the language of your operating system you can use the CultureInfo class from the .NET framework.
A very good description how to use it can be found on the stackoverflow website.

I hope this helps solving the problem.

Regards,
Bernhard
.
Image