WebDriver Exception error while spying windows object and windows recording

Hello,

I’m getting WebDriverException when i click on ‘Windows Recorder’ and ‘Spy Windows Object’ and I’m unable to record the actions as well as not able to spy object as well.

Application is launching successfully as separate instance but nothing shows up in Screen View.

Note: Running WinAppDriver and Katalon Studio in admin mode.

Katalon Version v8.1.0

Details of Exception :

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: ‘xxxxxx’, ip: ‘xxxx’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: C:\APPS\IMS\BIN\xxxx.exe, javascriptEnabled: true, platform: WINDOWS, platformName: WINDOWS}
Session ID: 5E3F759C-C967-4E4C-8117-9D83931A6B95
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:830)
at com.kms.katalon.composer.windows.dialog.WindowsSpyObjectDialog$14.run(WindowsSpyObjectDialog.java:793)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

In Command Prompt, I am getting this error :slight_smile:
HTTP/1.1 500 Internal Error
Content-Length: 133
Content-Type: application/json

{“status”:13,“value”:{“error”:“unknown error”,“message”:“An unknown error occurred in the remote end while processing the command.”}}

Please advice me.

Thanks a lot in advance.

Hi there, i am new Katalon and i get this same issue. The Windows Spy Object picks up my applications login splash screen, but once i logeed in i cant spy any objects in teh actual application. i get same error when i do Refresh Screen in teh Spy Window.

I can record test cases using the windows record, and that records all clicks in the application, but i wold prefer to use the spy.

Did you resolve this?

we are also getting same issue during capturing Object


Please Answer if you have any solution regarding this issue

1 Like