XCUITest for iOS apps and how to test with Xcode
UI testing for iOS app is a way to validate & interact with the real UI of the app. This testing process will check if UI elements are designed and implemented the way it should be by interacting the UI elements by tapping, swiping, scrolling and verifying the behavior.
Xcode has XCUITest framework integrated & allows to easily develop UI tests for user’s interaction with the application. Implementation of UI tests for iOS apps with XCUITest is same as unit tests in XCTest.
pCloudy supports both XCUITest for iOS version 9.3.5 & above and instruments for lower version.
DesiredCapabilities like automationName,usePrebuiltWDA,acceptAlerts are required to run the automation scripts in pCloudy platform.
1) CREATING IPA FILE USING XCODE FOR TESTING-
a. In General tab, Select Provisioning profile in Signing(Debug) and Signing(Release)
e. Choose Development Team id
g. Select the appropriate location to save
Now you have properly signed to run automation in pCloudy platform.
2) RUNNING AUTOMATION SCRIPT @ pCloudy
a. Login and upload ipa file
b. Upload the App to cloud drive post login
Also you can download Sample Project from below link-
d. Select any number of iOS devices for test run
f. View the Reports
SINGLE DEVICE REPORT: