Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coveros-archive/training-mtw
Example selenium and appium code for the MTW training class
https://github.com/coveros-archive/training-mtw
Last synced: about 2 months ago
JSON representation
Example selenium and appium code for the MTW training class
- Host: GitHub
- URL: https://github.com/coveros-archive/training-mtw
- Owner: Coveros-Archive
- Created: 2016-04-13T20:56:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T21:42:01.000Z (over 7 years ago)
- Last Synced: 2024-09-20T18:39:09.726Z (4 months ago)
- Language: Java
- Size: 14.9 MB
- Stars: 0
- Watchers: 25
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mobile Application Testing Example Code
Example selenium and appium test code for the training class "Testing Mobile Webapps in the Cloud with Selenium" (aka the Mobile Test Automation Workshop aka the Mobile Lab)## Setup Instructions
These instructions assume Eclipse as an IDE and that Maven is installed on the system.
1. Clone this repository
1. On the command line in the training-mtw directory execute `mvn eclipse:eclipse` to configure the eclipse project and download required dependencies
1. Open Eclipse and create a new Java Project## Mobile Web Application Testing
Mobile web application examples are
* `com.coveros.training.mtw.mobileweb.AndroidChromePomExample` (Android)
* `com.coveros.training.mtw.mobileweb.IosSafariPomExample` (iOS)To run the mobile web app testing examples you will need to install [Appium](http://appium.io/]). Appium is open source.
To run the mobile web app testing example for Android you will need to also install [Genymotion](https://www.genymotion.com/). Genymotion requires an account but the free version is all that is needed to run the examples as written
To run the mobile web app testing example for iOS you will need a Mac with the latest version of XCode installed in order to get the iOS Simulator. No third party emulation product is required.
## Native App Testing
Native application testing examples are
* `com.coveros.training.mtw.nativeapp.UICatalogIosNativeApp` (iOS)To run the native app testing examples you will need to install [Appium](http://appium.io/]). Appium is open source.
To run the iOS native app testing example you will need a Mac running the latest version of XCode installed in order to get the iOS Simulator. No third party emulation product is required. The app under test is available from the [Appium GitHub Repository](https://github.com/appium/ios-uicatalog). Place it in the `apps` folder in this project in order to run the test.
## Cucumber Tests
This repository also contains examples of how these same tests may be organized into Cucumber Step Definitions.The following are runnable cucumber tests:
* `com.coveros.training.mtw.cucumber.BrowserTests` (Responsive Desktop Browsers)
* `com.coveros.training.mtw.cucumber.MobileWebTests` (Mobile Device Browsers)