I believe the default user action name is the title value of the UI element in mobile app. however, is it possible to bind another values such as "ios accessibility label" which is used for automation testing? customer asked this since the app can be multi-lingo and the title can change with different locals, but the ios accessibility label value will not change. It will be good to have a configuration parameter to overwrite the default with different identifier.
Thanks
Dong
Answer by Dominik P. ·
The iOS agent does it slightly differently for different controls. Since the latest update for 6.2.2 for all controls the accessibility label will be the last fallback before defaulting to the class name.
E.g. logic to determine the name of a button would be as follows - whatever appears to be set:
1. tile label
2. attributed title
3. accessibility label
4. class name
You could argue to put the accessibility label in front, but if you were using it the proper way, i would assume that you have to localize it too, since German speaking blind people might not understand an English accessibility label...
JANUARY 15, 3:00 PM GMT / 10:00 AM ET