AWS Device Farm | Testing Your App Flashcards

1
Q

Can I use the device camera?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, you can use the device cameras, both front- and rear-facing. Due to the way the devices are mounted, images and videos may look dark and blurry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

I don’t have any automated test scripts yet. What do the built-in tests do?

Testing Your App

AWS Device Farm | Mobile Services

A

The built-in compatibility test suite allows you to install, uninstall, launch, and run Fuzz on the app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does Fuzz do?

Testing Your App

AWS Device Farm | Mobile Services

A

Fuzz will perform fuzz testing on your UI immediately after launch. It streams random user input (touches, swipes, keyboard input) in a rapid fashion to your app. You can configure the number of events, the delay between events, and the seed used to randomize events. Using the same seed across test runs will result in the same sequence of events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

I test using an automation framework. Which frameworks do you support?

Testing Your App

AWS Device Farm | Mobile Services

A

For testing iOS, Android, and FireOS apps, we currently support Appium Java JUnit, Appium Java TestNG, Appium Python, Calabash, Instrumentation (Including JUnit, Espresso, Robotium, and any instrumentation-based tests), UI Automation, UI Automator, and XCTest (Including XCUI and KIF). For more information and updated list, visit our documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which test frameworks do you support for web applications?

Testing Your App

AWS Device Farm | Mobile Services

A

You can run tests written in Appium Java JUnit, Appium Java TestNG, or Appium Python.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can you add support for a modified framework or one I designed myself?

Testing Your App

AWS Device Farm | Mobile Services

A

We’re always evaluating frameworks to support. Please contact us.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does AWS Device Farm decide when to take a screenshot during a test?

Testing Your App

AWS Device Farm | Mobile Services

A

If you use one of the supported automation frameworks, you are in full control and can decide when to take screenshots. Those screenshots are included in your reports automatically.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Android: Is Google Play Services available on your devices? Which version is installed?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, Google Play Services is installed on devices that support it. The services are updated as new versions become available.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Android: Is there a default Google account on the devices?

Testing Your App

AWS Device Farm | Mobile Services

A

No, devices do not have an active Google account.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Does AWS Device Farm support record and playback automation or do I have to write my scripts?

Testing Your App

AWS Device Farm | Mobile Services

A

AWS Device Farm supports frameworks like Espresso and Robotium that have record and playback scripting tools.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

iOS: Do I need to add your UDIDs to my provisioning profile?

Testing Your App

AWS Device Farm | Mobile Services

A

No, AWS Device Farm will automatically replace a provisioning profile and resign your app so it can be deployed on our devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

iOS: My app does not contain debug symbols. Can I supply a dSYM file to AWS Device Farm?

Testing Your App

AWS Device Farm | Mobile Services

A

No, but you can download the logs and symbolicate the stack traces locally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Android: My app is obfuscated. Can I still test my app on AWS Device Farm?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, if you use ProGuard. If you use DexGuard with anti-piracy measures, we are unable to re-sign the app and run tests against it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

My app serves ads. Will they be displayed on your devices? Will my ad provider flag this as abuse and ban my account?

Testing Your App

AWS Device Farm | Mobile Services

A

Although devices have access to the Internet, we make no guarantee that ads will be displayed. We recommend that you remove ads from the builds tested on AWS Device Farm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can I access the machine hosting the device or access its shell as part of my tests? Can I reach the Internet from it?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes. If you’re using a client-server framework like Calabash, Appium, or UI Automation, you can access the Internet and execute limited shell commands from the host.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

I’d like to supply media or other data for my app to consume. How do I do that?

Testing Your App

AWS Device Farm | Mobile Services

A

You can provide a .zip archive up to 4 GB in size. On Android, it will be extracted to the root of external memory; on iOS, to your app’s sandbox. For Android expansion files (OBB), we will automatically place the file into the location appropriate to the OS version. For more information, see the Developer Guide.

17
Q

My app requires dependencies to test all functionality. Can I install other apps?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, you can select multiple apps and the order in which to install them. These dependent apps will be installed before your tests begin.

18
Q

Can I test upgrade flows for my app? How do I install an old version of my app?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, in order to test your upgrade flow, you can upload and install an old version of your app before the new version is installed and tested.

19
Q

My app makes use of location services. Can I specify the physical location of the device?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, you can supply latitude and longitude coordinates that will be used to override a device’s GPS.

20
Q

Can I run localization tests? How do I change the language of the device?

Testing Your App

AWS Device Farm | Mobile Services

A

Yes, you can provide a locale (for example, “en_US”) to override the default locale setting on a device.

21
Q

How long does it take before my test starts?

Testing Your App

AWS Device Farm | Mobile Services

A

Tests are immediately queued for execution and usually start within minutes. If one or more devices are not available, test execution for those devices will remain queued until they become available. Testing on the other devices in your test run will continue.

22
Q

What is the maximum test time allowed?

Testing Your App

AWS Device Farm | Mobile Services

A

The maximum time allowed is 60 minutes. If you need a longer timeout, please contact us.