/java-appium-first-test

Contains a set of 4 tests, two for Android, two for iOS. Each OS has an app test and a web test. The tests are executed using Appium and are run using JUnit. Also contains configuration files for CI integrations, see Readme.md.

Primary LanguageJava

This project contains four different tests:

1. Test for Android App

2. Test for iOS App

3. Test on Android Chrome

4. Test on iOS Safari

You can use these tests as templates for your own tests. Simply edit the capabilities and the test method to fit your needs.

Running the tests

Running the tests from your machine

You can clone the repository to your machine and open it in your IDE of choice. The gradle file is already configured to run all tests in parallel so you can see all tests in real time without having to yet for them to run sequentially. You can run single tests should you choose to. The tests rely on an access key that allows you to send test requests to seetest.io cloud. In the code, the access key tries to look for an access key as environment variable. If you haven't configured an access key as environment variable, you will have to specify it directly in the code.

Running the tests using CI/CD services

We've included .yml configuration files in this project in order to allow you to run these tests in a CI/CD environment See below for each service that we included: