I’m hoping to use KIF to write functional tests for our iphone app. It uses “accessibility labels” to identify the UI items it’s testing. How do I set the accessibility label for a view in xcode4’s interface builder?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To set the variable programmatically you can use its property like this:
In the InterfaceBuilder — built into XCode 4 — you just have to select the UI item you want to have an accessibility label. The “Identity Inspector”, in the “Utility”-pane, offers a textfield where you can enter any label-text you want.