Kobiton supports automation testing using a variety of frameworks, including the Appium framework. With Appium and Kobiton you can run automation tests on physical devices accessed via the Kobiton cloud.
Follow these steps for automation testing in Kobiton:
- Log in to the Kobiton portal.
- From your Kobiton portal's device list, navigate to the desired iOS device and click the ellipsis icon .
- Click on "Automation Settings".
- In the Automation Settings box, fill in the following testing capabilities:
- Framework: select Appium
- Language: select from Java, .Net C#, NodeJS, Ruby, Python, PHP
- Session Name: default name is "Automation test session", but it can be customized
- Description: optional session description
- Session Timeout: default timeout is 60 minutes, but can be changed to designated time
- User Team: defaults to user's default user team, but can be changed if executing user is a member of multiple groups
- Device Team: defaults to device's default device team, but click to open the dropdown for other available teams
- Capture screen after every step: check the box beside this feature to enable Kobiton to take a screenshot after each step of your automated test is complete
- Use specific device: check the box beside this feature to enable the use of only the specified iOS device
- Clean up device on exit (private/local devices only): check the box beside this feature to enable the device clean-up plan you've selected for your org to run on this device once the test completes
- App: select which app access method you prefer: either upload an application with a URL or an application on the Kobiton App Repository, as described below
- Web
- Browser
- Hybrid/Native from URL
- Application URL
- Hybrid/Native from apps
- Select App from Apps Repo
- Web
- Orientation: select portrait or landscape
- API Key:populates with the default API key
- Use the copy to clipboard icon to copy the generated desired capabilities.
- Paste the capabilities into your scripted test.
- Execute your test.
- Review the test log.