i am not sure what is the doc for?
i managed to move forward one step by launching app by adding this argument at desired capabilities
userProfile : 10
optionalIntentArguments : --user 10 -n “com.ninetest.hd3.work.cac/com.ninetest.hd3.activity.MailActivityEmail”
but still some error during execution
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot activate ‘com.ninetest.hd3.work.cac’. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\tester\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s 2529b29c9b0c7ece shell monkey -p com.ninetest.hd3.work.cac -c android.intent.category.LAUNCHER 1’ exited with code 252’; Stderr: ‘args: [-p, com.ninetest.hd3.work.cac, -c, android.intent.category.LAUNCHER, 1]
arg: “-p”
arg: “com.ninetest.hd3.work.cac”
arg: “-c”
arg: “android.intent.category.LAUNCHER”
arg: “1”
data=“com.ninetest.hd3.work.cac”
data=“android.intent.category.LAUNCHER”’; Code: ‘252’ (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘LAPTOP-7932I49J’, ip: ‘192.168.48.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {appActivity: com.ninetest.hd3.activit…, appPackage: com.ninetest.hd3.work.cac, appWaitActivity: com.ninetest.hd3.activit…, appWaitDuration: 60000, autoGrantPermissions: true, automationName: uiautomator2, databaseEnabled: false, desired: {appActivity: com.ninetest.hd3.activit…, appPackage: com.ninetest.hd3.work.cac, appWaitActivity: com.ninetest.hd3.activit…, appWaitDuration: 60000, autoGrantPermissions: true, automationName: uiautomator2, deviceId: , deviceName: samsung SM-N960F (Android 10), newCommandTimeout: 1800, noReset: true, optionalIntentArguments: --user 10 -n "com.ninefolde…, platform: ANDROID, platformName: Android, platformVersion: 10, systemPort: 8277, udid: 2529b29c9b0c7ece, userProfile: 10}, deviceApiLevel: 29, deviceId: , deviceManufacturer: samsung, deviceModel: SM-N960F, deviceName: 2529b29c9b0c7ece, deviceScreenDensity: 560, deviceScreenSize: 1440x2960, deviceUDID: 2529b29c9b0c7ece, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, noReset: true, optionalIntentArguments: --user 10 -n "com.ninefolde…, pixelRatio: 3.5, platform: ANDROID, platformName: Android, platformVersion: 10, statBarHeight: 84, systemPort: 8277, takesScreenshot: true, udid: 2529b29c9b0c7ece, userProfile: 10, viewportRect: {height: 2708, left: 0, top: 84, width: 1440}, warnings: {}, webStorageEnabled: false}
Session ID: f5673614-38c4-4c75-ba24-5dc9251354ac
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:474)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot activate ‘com.ninetest.hd3.work.cac’. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\tester\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s 2529b29c9b0c7ece shell monkey -p com.ninetest.hd3.work.cac -c android.intent.category.LAUNCHER 1’ exited with code 252’; Stderr: ‘args: [-p, com.ninetest.hd3.work.cac, -c, android.intent.category.LAUNCHER, 1]
arg: “-p”
arg: “com.ninetest.hd3.work.cac”
arg: “-c”
arg: “android.intent.category.LAUNCHER”
arg: “1”
data=“com.ninetest.hd3.work.cac”
data=“android.intent.category.LAUNCHER”’; Code: ‘252’ (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘LAPTOP-7932I49J’, ip: ‘192.168.48.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {appActivity: com.ninetest.hd3.activit…, appPackage: com.ninetest.hd3.work.cac, appWaitActivity: com.ninetest.hd3.activit…, appWaitDuration: 60000, autoGrantPermissions: true, automationName: uiautomator2, databaseEnabled: false, desired: {appActivity: com.ninetest.hd3.activit…, appPackage: com.ninetest.hd3.work.cac, appWaitActivity: com.ninetest.hd3.activit…, appWaitDuration: 60000, autoGrantPermissions: true, automationName: uiautomator2, deviceId: , deviceName: samsung SM-N960F (Android 10), newCommandTimeout: 1800, noReset: true, optionalIntentArguments: --user 10 -n "com.ninefolde…, platform: ANDROID, platformName: Android, platformVersion: 10, systemPort: 8277, udid: 2529b29c9b0c7ece, userProfile: 10}, deviceApiLevel: 29, deviceId: , deviceManufacturer: samsung, deviceModel: SM-N960F, deviceName: 2529b29c9b0c7ece, deviceScreenDensity: 560, deviceScreenSize: 1440x2960, deviceUDID: 2529b29c9b0c7ece, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, noReset: true, optionalIntentArguments: --user 10 -n "com.ninefolde…, pixelRatio: 3.5, platform: ANDROID, platformName: Android, platformVersion: 10, statBarHeight: 84, systemPort: 8277, takesScreenshot: true, udid: 2529b29c9b0c7ece, userProfile: 10, viewportRect: {height: 2708, left: 0, top: 84, width: 1440}, warnings: {}, webStorageEnabled: false}
Session ID: f5673614-38c4-4c75-ba24-5dc9251354ac
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)
at io.appium.java_client.CommandExecutionHelper.execute(CommandExecutionHelper.java:27)
at io.appium.java_client.InteractsWithApps.activateApp(InteractsWithApps.java:165)
at io.appium.java_client.InteractsWithApps.activateApp(InteractsWithApps.java:149)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startExistingApp(MobileInspectorController.java:143)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:482)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)
… 2 more