UI Testing:
*Adding Test Files to Xcode Project
You should check “Include UI Tests” in the project creation dialog.
If you missed checking UI target while creating project, you could always add test target later.
Setps:
File -> New -> Target
iOS UI Testing Bundle