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
Procedure
- Go to the Web UI Test perspective in HCL OneTest™ UI.
-
Click Application Configuration
in the toolbar.
The Application Configuration window is displayed. This window displays the list of applications that you have configured in HCL OneTest™ UI.
-
Click Add and select Android.
The Android application dialog box is displayed.
-
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.
- Click Add.
Results
What to do next
You can use the Android application to record the mobile tests.