You can create a mobile asset with various devices using the Mobile Session dialog.
Follow these steps:
The Mobile Session dialog displays.
Fields then vary depending upon the target you select.
Emulator assets specify the mobile emulator that is used for testing on an Android device.
Click the folder icon to locate the Android AVD that you defined when configuring mobile testing.
Select the version of the SDK to use with your test case.
Simulator assets specify the mobile simulator that is used for testing on an iOS device.
Click the folder icon to locate the simulator on your computer.
Select the version of the iOS to use with your test case.
Attached Device assets specify the mobile device that is used for your test cases. This asset is used for physical iOS and Android mobile devices that are connected to your computer.
Click the folder icon to locate the simulator of your choice on your computer.
Note: If you connect or disconnect a device, click Refresh in the Attached Device dialog to view the latest devices.
Select the version of the SDK to use with your test case.
Select the version of the iOS to use with your test case.
SauceLabs is a cloud provider of scalable iOS and Android simulators. SauceLabs assets specify the SauceLabs account information for mobile cloud testing.
Note: Before you can create a SauceLabs asset, you must have a SauceLabs account with a unique access key.
Defines the user name with which to access SauceLabs.
Defines the key for accessing SauceLabs.
Select the version of the SDK to use with your test case.
Select the version of the iOS to use with your test case.
The Scope field is now available. For more information, see Runtime Scope.
The new asset appears in the Asset Browser.
Note: If you defined multiple mobile assets, you must select one before you can record a test case.
Important! Android testing requires the correct version of Android SDK Build-tools. If you encounter an error message regarding zipalign or aapt, see Android SDK Build-tools before you continue.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|