An open API service indexing awesome lists of open source software.

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.

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.