Events
In addition to Motion, various events that can be given to the device are gathered. For example, you can turn the portrait screen into a landscape screen, launch or shut down the app, and so on.
Rotate
Allows you to change the screen orientation of the device (rotate 270 degrees clockwise)
Rotate Attributes
orientation: Specifies the direction of rotation.
PORTRAIT: Rotate the device's screen vertically.
LANDSCAPE: Rotate the device's screen horizontally.
Wait
Wait for the set amount of time to run the next step.
Wait Attributes
value: Lets you set the wait time. - Default value: 2000 - Minimum value: 500 - Maximum value: 5000 - Unit: ms
Launch
Launch the app.
Launch Attributes
Package Name: If the app you want to run is an Android app, type the app's Package Name.
Bundle ID: If the app you want to run is an iPhone app, enter the Bundle ID of the app.
If you enter both values, the value to be used depends on the type of device on which the test runs.
How to find out Android App Package Name
Step1. Go to play.google.com and search for the app.
Step2. The package name on the address bar part the top. ?id=Package Name format.
How to find your iOS App Bundle ID
Step1. Go to apple.com/kr/app-store and search for the app.
Step2. Check the unique number in the top address bar. /id unique number format.
Step3. Enter the address in the browser in the format below.
https://itunes.apple.com/lookup?id=unique number
Step4. Open the downloaded file in txt format to see the Bundle ID value.
Terminate
Shut down the running app.
Terminate Attributes
Package Name: If the app you want to run is an Android app, type the app's Package Name.
Bundle ID: If the app you want to run is an iOS app, enter the Bundle ID of the app.
If you enter both values, the value to be used depends on the type of device on which the test runs.
Activate
Display the app running in the background on the device screen.
Activate Attributes
Package Name: If the app you want to run is an Android app, type the app's Package Name.
Bundle ID: If the app you want to run is an iPhone app, enter the Bundle ID of the app.
If you enter both values, the value to be used depends on the type of device on which the test runs.
Home
Navigate to the home screen of the device. (Same behavior as pressing the Home button)
Lock
Change the device to a locked state
Unlock
Unlock the device.
Wake Up
Turn off sleep mode when the device is in sleep state.
Keycode
You can enter various Keycode values. You can enter the keycode directly for values other than the default keycode.
Caution) The Keycode action is an Android-only action. It doesn't work on the iPhone and just goes straight to the next step.
Keycode Attributes
value: Sets the Keycode value to enter. You can enter it yourself, or you can select the default value that appears when you click. - Back(4): Perform the Android Back button action. - Enter(66): Perform the Go button action on the keyboard UI. - Del(67): Performs the backspace action of the keyboard UI. - AppSwitch(187): Perform the Android App Switch button action.
Last updated