Multi Language Application : General Questions

Multi Language Application

Ask general questions here.

Multi Language Application

Postby Kuka » Tue Jun 28, 2011 12:30 pm

:?: 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.
Kuka
 
Posts: 2
Joined: Tue Jun 28, 2011 12:17 pm

Re: Multi Language Application

Postby Support Team » Tue Jun 28, 2011 12:52 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Multi Language Application

Postby Kuka » Tue Jun 28, 2011 2:59 pm

:D Thanks Peter for the quick answer. Attached is the snapshot of our application.
Attachments
App_Qup1.rxsnp
Application_Snapshot
(1010.32 KiB) Downloaded 14 times
Kuka
 
Posts: 2
Joined: Tue Jun 28, 2011 12:17 pm

Re: Multi Language Application

Postby Support Team » Tue Jun 28, 2011 3: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests