Testing Siebel Business Applications > Setting Up Android Mobile Devices for Automation Testing >

Automation Testing on an Emulator


An emulator, such as an Android Virtual Device (AVD), is software or hardware that enables a computer system (for example, a Windows operating system) to behave like another computer system (for example, an Android platform). It provides a virtual environment of another system.

To run automation testing on an emulator on Microsoft Windows

  1. Start the AVD Manager as follows:
    1. Navigate to and open the SDK folder. For example: C:\SDK.
    2. Double-click AVD Manager.exe to start the AVD Manager.

You use the AVD Manager to create virtual Android devices.

  1. Using AVD Manager, create an android virtual device (emulator) as follows:
    1. Go to the Device Definitions tab, click Create Device, click the Android Virtual Device, and then click Create.

The Create new Android Virtual Device window appears.

  1. Enter values for the fields shown in the following table.

NOTE:  The values shown in the following table are example values for creating a virtual device using Galaxy Tab S 10.5. Values typically vary depending on the device you want to emulate. When creating a virtual device, use the following specifications:

Screen Size : 10.5 inches

Resolution : 2560 x 1600

Table 10. lists the description and sample values to be entered in the Android device.
Field
Description
Sample Value

AVD Name

Name of the Android virtual device.

AVD_for_Samsung_GalaxyTab_S

Device

Name of the Android device.

Samsung_Galaxy_Tab_S

Target

Name of the target Android device.

Android 5.0.1 - API [Level2]

CPU/AB1

The application binary interface.

ARM (armeabi-v7a)

  1. Select the device and then click Start.
  2. Click Launch.

The Emulator starts.

  1. Update the XML file by setting the following parameters:
  • APPLICATION_TYPE= Android_Chrome - Automation on Chrome Browser.
  • APPLICATION_TYPE= Android_Browser - Automation on AVD Native Browser.

Since emulators take more time to start, start the emulator manually before triggering a run.

  • APPLICATION_TYPE= Android_MAF - Automation on Siebel MAF Application

Testing Siebel Business Applications Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.