Multi-touch action often appears in gaming applications. This tutorial shows you how to perform a multi-touch action at four different points simultaneously. We will use the MultiTouch Tester app to demonstrate automation testing on this typical behavior. Please download:
Go to the capabilities section and select the desired device, here we will select the Android device.
After you select the device, there will be a options screen and you need to reset the components to the device and application you are using.
Click on the value of the caps row, then you can reset components such as: udid is your device id, appPackage and appActivity are components of the application and you can use the commands in the screen. Figure cmd to get them:
To get the id of your device, we just need to connect the phone and type the command: adb devices, the id that appears under the List of devices attached is your device id
To get appPacage and appActivity of the app, you need to turn on the app, go to cmd and type: adb shell, then vb line will appear then type the command: dumpsys window windows | grep -E 'mCurrentFocus' to get appPackage and appActivity as shown in the picture. First is the appPackage, and the last is appActivity.
To run the tets case you also need to enable Appium via the Appium icon on the toolbar of akaAT
In Manual Mode: