Menu
AWS Device Farm
Developer Guide (API Version 2015-06-23)

Create a Device Pool in AWS Device Farm

To create a device pool, you can use the Device Farm console, the AWS CLI, or the Device Farm API.

Prerequisites

  • Start by creating a run in the Device Farm console. Follow the instructions in Create a Test Run. When you get to the Select devices page in the Create a new run wizard, continue with the instructions in this section.

Create a Device Pool with the Device Farm Console

  1. Make sure you have started to create a run and stopped on the Select devices page in the Create a new run wizard.

  2. On the Select devices page, choose Create new device pool.

  3. For Name, type a name that will make this device pool easy to identify in the future.

  4. For Description, type a description that will make this device pool easy to identify in the future.

  5. If you want to use one or more selection criteria for the devices in this device pool, do the following:

    1. Choose Add rule.

    2. For Field, choose one of the following:

      • Choose Manufacturer to include devices by their manufacturer name.

      • Choose Type to include devices by their Type value.

    3. For Operator, choose the following:

      • Choose EQUALS to include devices where the Field value equals the Operand value.

    4. For Operand, type or choose the value you want to specify for the Field and Operator values. Note that if you choose Platform for Field, then the only available selections are ANDROID and IOS. Similarly, if you choose Type for Field, then the only available selections are PHONE and TABLET.

    5. To add another rule, choose Add rule again.

    6. To delete a rule, choose the X icon next to the rule you want to delete.

    After you create the first rule, then in the list of devices, the box next to each device that matches the rule will be selected. After you create additional rules or change existing rules, then in the list of devices, the box next to each device that matches those combined rules will be selected. Devices with selected boxes will be included in the device pool. Devices with cleared boxes will be excluded from the device pool.

  6. If you want to manually include or exclude individual devices, select or clear the box next to each device.

    Note

    You can select or clear the boxes only if you do not have any rules specified.

  7. If you want to include or exclude all displayed devices, select or clear the box in the column header row of the list.

    Important

    Although you can use the boxes in the column header row to change the list of displayed devices, this does not mean that the remaining displayed devices will be the only ones included or excluded. To confirm which devices will be included or excluded, be sure to clear the contents of all of the boxes in the column header row. Then browse the boxes to see which devices will be included or excluded.

  8. Choose Save device pool.

Create a Device Pool with the AWS CLI

For information about using Device Farm with the AWS CLI, see AWS CLI Reference.

Create a Device Pool with the Device Farm API

For information about using the Device Farm API, see API Reference.