Xcode Test Recorder fails on Unicode-Strings
| Originator: | tobias.banaszak | ||
| Number: | rdar://23954664 | Date Originated: | 18-Dec-2015 04:20 PM |
| Status: | Duplicate of 23493343 (Open) | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.2 |
| Classification: | Bug | Reproducible: | always |
Summary:
I tried to record a test from the xcode "record ui test"-feature.
The iOS-app was not installed on the simulator and we use push-messages, so the app aks the user on first launch to accept push messages. if you tap "OK" on this, alert Xcode records the following message:
[app.alerts[@"\U201cmyAppName\U201d Would Like to Send You Notifications"].collectionViews.buttons[@"OK"] tap];
Using a big "U" is wrong on those strings and produces an error:
Incomplete universal character name
Steps to Reproduce:
Create an app with push-funcionality
create a test
start recording a test
accept push notifications-alert
Expected Results:
xcode produces correct string with "\u", not "\U"
Actual Results:
xcode produces wrong string
Version:
Xcode 7.2
El Capitan 10.11.2
Notes:
Configuration:
Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!