Page 1 of 1

Multi Language Application

Posted: Tue Jun 28, 2011 11:30 am
by Kuka
:?: Our Application is multi language .Can some help me to find out, how can I write one test to test my application for German and English language.

Re: Multi Language Application

Posted: Tue Jun 28, 2011 11:52 am
by Support Team
Hi,
Kuka wrote::?: Our Application is multi language .Can some help me to find out, how can I write one test to test my application for German and English language.
This is normally very simple. You have just to find attributes in your RxPath which are language independent. If you could post me a Ranorex Snapshot of your Application I could show you an example?
How to create a Ranorex Snapshot

If you have no chance with independent attributes, you could use variables inside the repository in combination with a CSV file for example. In this CSV file you save your specific Spell-Settings and you create your testcases using the Test Suite.

Regards,
Peter
Ranorex Team

Re: Multi Language Application

Posted: Tue Jun 28, 2011 1:59 pm
by Kuka
:D Thanks Peter for the quick answer. Attached is the snapshot of our application.

Re: Multi Language Application

Posted: Tue Jun 28, 2011 2:12 pm
by Support Team
Kuka wrote::D Thanks Peter for the quick answer. Attached is the snapshot of our application.
No problem, we are notorious for our fast support! ;)

Here is an example:
/dom[@caption='Q-Up: Home']/body/div[@id='SlideMainframe']/div[@id='SlideNavigation']/ul/li[1]/a[@id='NewProject']
This RxPath is for the menu item "Neues Projekt", instead of the "InnerText" attribute you should use the "ID" attribute, because this shouldn't be change. But default Ranorex Spy should use this element. Did you get this RxPath if you track this element?

Regards,
Peter
Ranorex Team