Developer HowTo - TheScientist/MGT-Mobile-GUI-Testframework GitHub Wiki

Required Tools

Basic

  • Install Eclipse Indigo (3.7) plus the following Plugins (from Marketplace): ** EMFText ** EGit (optional: You can also use Git Bash and import the code into Eclipse)

Android

For Test execution with Android you need the following:

  • Get Apache Ant and put its 'bin'-Folder into the path so you can access the command 'ant' from cmd (Windows only).~
  • Install the Android Developer Tools
  • Put the folders 'tools' and 'platform-tools' in the Path, so that the commands adb and android are accessable from cmd (Windows only).~
  • Install the ADT Plugin in Eclipse

~ Eclise or your machine need to be restarted that the path changes are recognized.

Get the Code

  1. Open Eclipse
  2. Create a Git-Repository by cloning this one here.
  3. Right-Click on the repository and choose 'Import Projects...'
  4. Select the MGT folder in the working directory.
  5. Click Next and finish the wizard.

You should now have 6 Projects in the Package Explorer.

Understand and Change the Code

TODO

Run the code.

  1. Create a new Eclipse Application as Run Configuration.
  2. In the tab Plug-ins select 'Launch with: all workspace and enabled target plug-ins'.
  3. Run the Configuration

You should now have a running instance of the MGT Framework, which you can enhance or debug. See the Usage wiki page for information about testing the sample.