Download the PHP package tajawal/codeception-appium without Composer

On this page you can find all versions of the php package tajawal/codeception-appium. 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 codeception-appium

Appium Driver for Codeception

Appium driver for codeception for writing mobile tests.


Build Status downloads MIT License Donate

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

Requirement

  1. PHP >= 7.0
  2. Appium
  3. Inspect App with Appium Desktop
  4. Devices:

    • Android
    • iOS

      • Install Xcode from the following link or run the following command inside your terminal:

      • Install the Carthage dependency manager:

Table of Contents

Install

Just add me-io/appium-driver-codeception to your project's composer.json file:

and then run composer install. This will install codeception appium driver and all it's dependencies. Or run the following command

Tests

Now lets run the following command at the root directory of your project:

This command will creates a configuration file for codeception and tests directory and default test suites.

Writing tests for Android

Now, lets create a new configuration file android.suite.yml inside tests directory and put the following contents inside of it.

Note: deviceName should be set as Android device only for real device. For Android Emulator use the name of the virtual device.

Writing tests for iOS

Now, lets create a new configuration file ios.suite.yml inside tests directory and put the following contents inside of it.

Generating Actor classes

Now we need to generate actor class for the AndroidGuy/IosGuy that we defined in android.suite.yml/ios.suite.yml. To generate the actor class for AndroidGuy/IosGuy run the following command inside your terminal:

Your First Android Test

To create your first android test create a new directory android inside tests folder. After creating the android folder create a new file FirstAndroidCest.php and put the following contents inside of it:

Your First iOS Test

To create your first iOS test create a new directory ios inside tests folder. After creating the ios directory create a new file FirstIosCest.php and put the following contents inside of it:

Running tests

Run the appium server by running the following command:

NOTE: If you want to change IP/Port run the appium command like this:

After running the appium server now you need to start android emulator and install the application that you want to test. If you don't know how to start the emulator you can follow the following guide Setup Genymotion Android Emulators on Mac OS

Now run the following command inside your terminal to run the tests:

Note: While following the steps that are mentioned here if you get codecept command not found error try to run codecept command like this ./vendor/bin/codecept.

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 codeception-appium with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
codeception/codeception Version ~2
phpunit/phpunit-selenium Version ~4
symfony/console Version ~4
squizlabs/php_codesniffer Version *
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 tajawal/codeception-appium contains the following files

Loading the files please wait ....