I tried to capture the Desktop application element from the Katalon recorder through Citrix, but I can’t resolve this error, please help!

I tried to capture the Desktop application element from the Katalon recorder through Citrix, but I can’t resolve this error, please help!

org.openqa.selenium.WebDriverException: An unknown error occurred in the remote end while processing the command.
(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: ‘CTX-DEV-01’, ip: ‘10.200.36.232’, os.name: ‘Windows Server 2019’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_362’
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: C:\Program Files (x86)\Base…, javascriptEnabled: true, ms:waitForAppLaunch: 50, platform: WINDOWS, platformName: WINDOWS}
Session ID: 4F0757F2-E720-43B7-881D-7B2DB4E8E215
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
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:46)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295)
at com.kms.katalon.composer.windows.spy.WindowsInspectorController.captureScreenshot(WindowsInspectorController.java:84)
at com.kms.katalon.composer.windows.dialog.WindowsSpyObjectDialog$14.captureImage(WindowsSpyObjectDialog.java:832)
at com.kms.katalon.composer.windows.dialog.WindowsSpyObjectDialog$14.run(WindowsSpyObjectDialog.java:795)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

1 Like

Hi,

I will let my team know and back to you soon

Hi,

Can you please check that when you start Citrix, is it busy with any other windows? If yes, you have to use the keyword switch to window to switch to that window. In the meanwhile, if you are a paid user, please create a ticket here: Katalon Help Center for better support

1 Like