Download the PHP package me-io/appium-selenium-starter without Composer

On this page you can find all versions of the php package me-io/appium-selenium-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package appium-selenium-starter

Appium Selenium Starter

Simple and easy to use boilerplate for writing tests for mobile or web.


Build Status downloads MIT License Donate

PRs Welcome Code of Conduct Watch on GitHub Star on GitHub Tweet

Requirements

  1. PHP >= 7.0
  2. Appium - For Mobile Testing
  3. Selenium - For Web application testing

Installation

You can install this appium-selenium-starter using the following methods:

Cloning the repo

Run the following command to configure the boilerplate on your machine:

Via composer create-project

Alternatively, you may also install appium-selenium-starter by issuing the Composer create-project command in your terminal:

Installing Dependencies

Now run the following command to install required dependencies:

Configuring Environment

There are two cli applications included in starter. To view a list of all commands in these cli applications inside your terminal run the following commands one by one:

Appium

Lets configure your environment for running mobile application testing. Open your terminal and run the following command:

Selenium

To configure your environment for running selenium server run the below command:

Running Example Tests

Note: For running example tests you need to have installed and configured the android emulator or iOS simulator on your machine.

Before running the mobile tests we need to start the appium server. To start appium server run the following command inside your terminal:

We need to move everything from example directory to the root folder of the project. Run the following command inside your terminal:

You can find the android and ios example tests inside /tests directory. We also put some example apps for android and ios inside /tests/_data/test-apps directory.

Android Tests

For running android emulator we are using genymotion. Follow this guide if you do not know how to install and run android emulator. You also need to install the application that you want to test inside android emulator.

Update Suite

Now you need to update the android.suite.yml you can find this filw inside tests directory. And also update the deviceName to your android emulator device name. If you have genymotion installed you can find the device name from the devices list.

Imgur

Running Tests

To run the android tests run the following codecept command inside your terminal:

Android

Note: Make sure appium server is running before running the android tests.

iOS Tests

First you need to run the appium server than you need to start the iOS simulator. Use the following if you do not know how to run iOS sumulator http://www.macinstruct.com/node/494.

Update Suite

Now you need to update the ios.suite.yml you can find this file inside tests directory. Open ios.suite.yml file and update xcodeOrgId and udid to your running simulator identifier string. You can find your identifier string by opening the simulator then Hardware > Device > Manage Devices > Simulators. You will find a list of iOS devices now open the device that you are running and after clicking on the device name you will find the identifier string.

Running Tests

To run the ios tests run the following codecept command inside your terminal:

iOS

Contributors

A huge thanks to all of our contributors:


Mohamed Meabed

💻 📢

Zeeshan Ahmad

💻 🐛 ⚠️ 📖

License

The code is available under the MIT license.


All versions of appium-selenium-starter with dependencies

PHP Build Version
Package Version
Requires me-io/selenium-appium-server Version ~1
me-io/appium-codeception Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package me-io/appium-selenium-starter contains the following files

Loading the files please wait ....