@admin
While using the ranorex tool for localizing a Windows app,
the container of a item changes from languages to language.
for example, consider a text box .
the RX path in English is :
/form[@title~'^Select\ Facility\ Connectio']/container[@caption~'^1\.\ Enter\ login\ informatio']/text[@class='Edit' and @instance='0']
but the Rx path in German is :
/form[@title~'^Anlagen-Verbindung\ auswah']/container[@caption~'^1\.\ Login-Informationen\ ei']/text[@class='Edit' and @instance='0']
so the path match fails giving a error.(While executing the testcase).
any solution to solve this localization issue.
Regards,
Praneeth Arnepalli
Localization: container NOt editable
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Localization: container NOt editable
Hello,
You could use variables for your localization in the RxPath of your elements.
These variables could be bound to a data source where each row represents a language.
Example for RxPath:
Please take a look at our User Guide for more info.
Regards,
Markus (T)
You could use variables for your localization in the RxPath of your elements.
These variables could be bound to a data source where each row represents a language.
Example for RxPath:
Code: Select all
/form[@title=$varTitle]/container[@caption=$varCaption]/text[@class='Edit' and @instance='0']
Regards,
Markus (T)
Re: Localization: container NOt editable
Hi Admin,
the main elements are not editable.
how can we modify them.
Please find the screenshot below |(Issue2.jpg).
the form title is different for different languages and this is not editable.
so how is it possible to loclaization?
and one more Question.
I got a list and I wanna make a search of an item(Variable) in the list. (Test.jpg)
I tried tracing the value:
/form[@title~'^PowerFleet™\ Vision™\ v5\.4\ ']/container/form/element[@class='AfxWnd40' and @instance='2']/element[@controlid='3']
then , added the list search:
/list/listitem[@accessiblename=$GroupName]
then also The automation fails.
Help me with a early sollution.
the main elements are not editable.
how can we modify them.
Please find the screenshot below |(Issue2.jpg).
the form title is different for different languages and this is not editable.
so how is it possible to loclaization?
and one more Question.
I got a list and I wanna make a search of an item(Variable) in the list. (Test.jpg)
I tried tracing the value:
/form[@title~'^PowerFleet™\ Vision™\ v5\.4\ ']/container/form/element[@class='AfxWnd40' and @instance='2']/element[@controlid='3']
then , added the list search:
/list/listitem[@accessiblename=$GroupName]
then also The automation fails.
Help me with a early sollution.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Localization: container NOt editable
Hi,
In order to analyze this in detail could you please send ([email protected]) or post two Ranorex snapshot files (for each language)?
This would help us to analyze this issue is detail.
Thanks,
Markus
In order to analyze this in detail could you please send ([email protected]) or post two Ranorex snapshot files (for each language)?
This would help us to analyze this issue is detail.
Thanks,
Markus