Configuring Android applications for mobile testing

You can configure and add an Android application to a Web UI test project. You can then record a mobile test to perform actions on the Android application and automate the mobile testing.

Before you begin

You must have created a Web UI test project to add the Android application.

Procedure

  1. Go to the Web UI Test perspective in Rational® Functional Tester.
  2. Click Application Configuration icon for mobile and web ui view in the toolbar.
    The Application Configuration window is displayed. This window displays the list of applications that you have configured in Rational® Functional Tester.
  3. Click Add and select Android.

    The Android application dialog box is displayed.

  4. Complete the action for each option described in the following table:
    Option Action
    Package Name

    Perform the following action if you have not autopopulated the fields by using the Open the list of predefined application configurations button.

    Enter the name of the Android application package. For more information on the package name, refer to related links.

    For example, the package name for YouTube is com.google.Android.youtube.

    Application name

    Perform the following action if you have not autopopulated the fields by using the Open the list of predefined application configurations button.

    Enter a name for the application that enables you to identify the mobile application.

    For example, the application name can be add_video.

    Activity name

    Perform the following action if you have not autopopulated the fields by using the Open the list of predefined application configurations button.

    Edit the name of the Android application package that is prefixed to .MainActivity when you want to change the name of the application package. The name of the application package is prefixed to .MainActivity when you enter the name in the Package Name field.

    For example, com.google.Android.youtube.MainActivity

    Version

    Perform the following action if you have not autopopulated the fields by using the Open the list of predefined application configurations button.

    Enter a number that you want to identify the version of the mobile application used for the test.

    For example, the version number can be dev_bld_V123.

    Application description Enter a description for the application.

    For example, the application description can be Test add video in bld V123.

  5. Click Add.

Results

The Android application is configured successfully.

What to do next

You can use the Android application to record the mobile tests.