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: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
.
Image

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.
Attachments
App_Qup1.rxsnp
Application_Snapshot
(1010.32 KiB) Downloaded 150 times

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

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
.
Image