Create a QF-Test setup sequence for Android testing

  • As always when creating a setup sequence, open the Quickstart Wizard via the »Extras« menu or the Quickstart Wizard toolbar button.
  • Select "An Android application".

    Figure 16.7:  Quickstart wizard screen to select the application type

Usage of an Android emulator

  • Select first option "Launch emulator and connect to an Android virtual device".

    Figure 16.8:  Quickstart wizard screen to select the emulate as test device
  • Select the virtual device from the drop-down list. Press "Refresh" in case no AVD is visible. If it is still not visible also try to restart QF-Test in order to make the virtual device visible. Then press "Next".

    Figure 16.9:  Quickstart wizard screen to select the AVD
  • As the next step you may want to specify the Android .apk file you want to test. If you want to test an App already installed, leave it empty.

    Figure 16.10:  Quickstart wizard screen to select an APK
  • In the next step you can specify a client name and press "Next" or "Finish" to finalize the Wizard.

    Figure 16.11:  Quickstart wizard screen to specify the client name
  • As a result, a Setup sequence will be created in the "Extras" node of your test suite. It should be pretty much self explanatory and also contains the hint, that in this early access phase the qfsandroid.qft suite is needed for this setup sequence to run successfully. A resepective include has been added automatically.

    Figure 16.12:  Android setup sequence created by the quickstart wizard
  • When executing the Setup sequence, the emulator window is supposed to appear and in case you have provided an .apk file to be started, the same should be visible there. Also the Record button Record is supposed to become active in order to indicate an established connection.

    Figure 16.13:  Android emulator window

 

Usage of a real Android device

  • Select "Connect to a real Android device or running Android virtual device".

    Figure 16.14:  Quickstart wizard screen to select the application type
  • From the Combo box select the shown entry, which is the id of your connected device. Press "Refresh" in case no device is visible. If it is still not visible also try to restart QF-Test in order to make the device visible. Then press "Next".

    Figure 16.15:  Quickstart wizard screen to select the real device
  • As the next step you may want to specify an Android .apk file you want to test. If you want to test an App already installed, leave it empty.

    Figure 16.16:  Quickstart wizard screen to select a .apk file
  • In the next step you can specify a client name and press "Next" or "Finish" to finalize the Wizard.

    Figure 16.17:  Quickstart wizard screen to specify the client name
  • As a result, a Setup sequence will be created in the "Extras" node of your test suite. It should be pretty much self explanatory and also contains the hint, that in this early access phase the qfsandroid.qft suite is needed for this setup sequence to run successfully. A resepective include has been added automatically.

    Figure 16.18:  Android setup sequence created by the quickstart wizard
  • When executing this Setup sequence the Record button Record is supposed to become active in order to indicate an established connection. Also in case you have provided an .apk file to be started, the same should get visible on you real device.