I’m trying to setup Katalon for creating testscripts for desktop applications.showing warning message screenshot has uploaded.but application has launched. I am new I don’t know what I am doing mistake.
`
**when I clicked on details below log is showing.**
[ java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: Failed to locate opened application window with appId: C:\Program Files (x86)\abc\xxx.exe, and processId: 6088 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 4.76 seconds
Build info: version: ‘3.141.59’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘BHK8G63’, ip: ‘192.168.1.xx’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’
Driver info: driver.version: WindowsDriver
Build info: version: ‘3.141.59’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘BHK8G63’, ip: ‘192.168.1.xx’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’
Driver info: driver.version: WindowsDriver
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.windows.dialog.WindowsAppComposite$5.run(WindowsAppComposite.java:239)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: Failed to locate opened application window with appId: C:\Program Files (x86)\abc\xxx.exe, and processId: 6088 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 4.76 seconds
Build info: version: ‘3.141.59’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘BHK8G63’, ip: ‘192.168.1.xx’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’
Driver info: driver.version: WindowsDriver
Build info: version: ‘3.141.59’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘BHK8G63’, ip: ‘192.168.1.xx’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’
Driver info: driver.version: WindowsDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
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.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.windows.WindowsDriver.(WindowsDriver.java:38)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.newWindowsDriver(WindowsDriverFactory.java:184)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.startApplication(WindowsDriverFactory.java:142)
at com.kms.katalon.composer.windows.spy.WindowsInspectorController.startApplication(WindowsInspectorController.java:149)
at com.kms.katalon.composer.windows.dialog.WindowsAppComposite$5$1.call(WindowsAppComposite.java:242)
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
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
… 19 more
Caused by: org.openqa.selenium.WebDriverException: Failed to locate opened application window with appId: C:\Program Files (x86)\abc\xxx.exe, and processId: 6088 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 4.76 seconds
Build info: version: ‘3.141.59’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘BHK8G63’, ip: ‘192.168.1.53’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’
Driver info: driver.version: WindowsDriver
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
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.JsonWireProtocolResponse.lambda$errorHandler$0(JsonWireProtocolResponse.java:54)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
… 23 more ]
’
`
**window application driver command line log**
POST /session HTTP/1.1
Accept-Encoding: gzip
Connection: Keep-Alive
Content-Length: 416
Content-Type: application/json; charset=utf-8
Host: 127.0.0.1:xxxx
User-Agent: selenium/3.141.59 (java windows)
{
“desiredCapabilities”: {
“app”: “C:\Program Files (x86)\abc\xxx.exe”,
“appWorkingDir”: “C:\Program Files (x86)\abc”,
“platformName”: “Windows”
},
“capabilities”: {
“firstMatch”: [
{
“appium:app”: “C:\Program Files (x86)\abc\xxx.exe”,
“appWorkingDir”: “C:\Program Files (x86)\abc”,
“platformName”: “windows”
}
]
}
}
HTTP/1.1 500 Internal Error
Content-Length: 183
Content-Type: application/json
{“status”:13,“value”:{“error”:“unknown error”,“message”:“Failed to locate opened application window with appId: C:\Program Files (x86)\abc\xxx.exe, and processId: 6088”}}