https://github.com/perfectomobilesa/perfectoxcuitestproject
A publicly available iOS Sample app example project along with advanced Perfecto configuration file. It has some sample xcuitests tests.
https://github.com/perfectomobilesa/perfectoxcuitestproject
perfecto xcode xcuitest
Last synced: about 1 year ago
JSON representation
A publicly available iOS Sample app example project along with advanced Perfecto configuration file. It has some sample xcuitests tests.
- Host: GitHub
- URL: https://github.com/perfectomobilesa/perfectoxcuitestproject
- Owner: PerfectoMobileSA
- Created: 2019-11-04T04:01:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T10:01:41.000Z (over 2 years ago)
- Last Synced: 2025-06-06T00:06:05.894Z (about 1 year ago)
- Topics: perfecto, xcode, xcuitest
- Language: Swift
- Homepage:
- Size: 161 MB
- Stars: 3
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XCUITest + Perfecto execution steps:
Real Device:
- Kindly follow the procedure mentioned [here](https://help.perfecto.io/perfecto-help/content/perfecto/automation-testing/xcuitest.htm#expand-APreparetheapplicationandapplicationtestrunnerfiles) in order to generate the .app files for this sample project. Place the generated .app files into this project's base directory.
- Update appPath and testAppPath in configFile.json.
- To activate the perfecto gradle plugin, open a command-line/terminal window in the project's folder and run the following gradle tasks:
`cd PerfectoXCUITest`
`gradle perfecto-xctest -PconfigFileLocation=configFile.json -PcloudURL=${url} -PsecurityToken=${securityToken}`
Virtual Device:
- Refer our [help](https://help.perfecto.io/perfecto-help/content/perfecto/automation-testing/xcuitest-virtual-devices.htm) portal and prepare the application files. PerfectoXCUITest's build.gradle has a sample task named buildXcodeProject which prepares the .xctestproducts automatically.
- To prepare xc product file & activate the perfecto gradle plugin, open a command-line/terminal window in the project's folder and run the following gradle tasks:
`cd PerfectoXCUITest`
`gradle buildXcodeProject perfecto-xctest-vd -PconfigFileLocation=configFileSim.json -PcloudURL=${url} -PsecurityToken=${securityToken}`
### Note:
1. Replace ${url} with your perfecto cloud url. E.g.: demo.perfectomobile.com where 'demo' to be replaced with your cloud name.
2. Replace ${securityToken} with your perfecto security token.