Hi,
our application supports a few GUI languages, and I want to create tests so that they can be run in any of these languages. I read a few forum posts to this topic and some questions remain. The repository I am creating uses language independent properties wherever possible, but (for example) when it comes to a tab control, I must address the tab names unless I rely on their specific order. (The AUT is a desktop program written in C++ with MFC. I have the source code and don't mind modifying it for better accessibility, but I cannot change the underlying MFC.)
https://www.ranorex.com/forum/multi-lan ... t2347.html suggests to use the "id" property. Can you give me a hint how to support "id" when all I have available is the IAccessible interface?
Another page which cannot find again says one should use variables in the repository, and load their values them from a CSV file. This looks like an elegant solution which doesn't require modification of the AUT. Is there an example or documentation available? I guess I would write a repository item like "button[@title=$buttonTitle]"? One csv file per language? How do I define which language file is used? Can I still create screenshots for the repository? Would Ranorex Spy work with variables in the RanorexPath?
Thank you
Hans
Multiple languages in a test suite
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Multiple languages in a test suite
Hi!
Please contact us via the links below and we will be more than happy to further assist you with this!
Existing Customer: https://www.ranorex.com/support-query
Evaluation Customer: https://www.ranorex.com/prices/contact/
Kind Regards,
Ranorex Team
Please contact us via the links below and we will be more than happy to further assist you with this!
Existing Customer: https://www.ranorex.com/support-query
Evaluation Customer: https://www.ranorex.com/prices/contact/
Kind Regards,
Ranorex Team