I am trying to set the language and scope of my user interface testing target, and unfortunately it does not work.
I tried both ways, first:
- Product | Scheme | Change Scheme
- Run | Options
- Application Language: French
- Scope: France
- Test | the arguments
- Use the Take Action arguments and environment variables: Checked
And I try differently:
- Product | Scheme | Change Scheme
- Test | the arguments
- Use the Take Action arguments and environment variables: Unchecked
- Arguments passed at startup:
-AppleLanguages (French)-AppleLocale fr_FR
Each method that leads to user interface testing still happens in English. Moreover, when I press the record button, it works in French ...
So, if I do something wrong, I would be happy to know!
Thanks in advance!
ios xcode localization xcode-ui-testing ui-testing
Zaphod
source share