How to locate elements using multiple *.strings files


Sorry for noob question, but how can I find elements using values stored in Localizable.strings?


Use find by id and pass the key value for the string.

Thanks for clarifying! I tried find by id but it didn’t work for me. Appium log saying that:

info: [debug] Id selector, 'ButtonMakeFolderText', not found in Localizable.strings.

Finally, I realized that appium tries to find the string only in Localizable.strings file, but there are 16 .strings files in lproj folder. Is there a way to use all these files?

I’ve opened an enhancement request to support multiple Localizable.strings. It’s not currently supported.

1 Like