Multi Language Application

Ask general questions here.
Kuka
Posts: 2
Joined: Tue Jun 28, 2011 11:17 am

Multi Language Application

Post by Kuka » Tue Jun 28, 2011 11:30 am

:?: 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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Multi Language Application

Post by Support Team » Tue Jun 28, 2011 11:52 am

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

Kuka
Posts: 2
Joined: Tue Jun 28, 2011 11:17 am

Re: Multi Language Application

Post by Kuka » Tue Jun 28, 2011 1:59 pm

:D Thanks Peter for the quick answer. Attached is the snapshot of our application.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Multi Language Application

Post by Support Team » Tue Jun 28, 2011 2:12 pm

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