Unable to create a new remote session - Record Widows Action

Hi @narendra.thakkar,

Please share us the details log.

Thanks

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:\Users\Public\Desktop\ABC Client TEST.lnk, and processId: 10571 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.55 seconds
Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’
System info: host: β€˜97C9G12-NR’, ip: β€˜10.64.130.69’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’
Driver info: driver.version: WindowsDriver
Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’
System info: host: β€˜97C9G12-NR’, ip: β€˜10.64.130.69’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’
Driver info: driver.version: WindowsDriver (Root cause: 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:\Users\Public\Desktop\ABC Client TEST.lnk, and processId: 10571 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.55 seconds
Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’
System info: host: β€˜97C9G12-NR’, ip: β€˜10.64.130.69’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’
Driver info: driver.version: WindowsDriver
Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’
System info: host: β€˜97C9G12-NR’, ip: β€˜10.64.130.69’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’
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:139)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.startApplication(WindowsDriverFactory.java:87)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.startApplication(WindowsDriverFactory.java:76)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory$startApplication.call(Unknown Source)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy:32)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:77)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:31)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:27)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords.startApplication(WindowsBuiltinKeywords.java:31)
at com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords$startApplication.call(Unknown Source)
at New_Test_Case.run(New_Test_Case:18)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1574867344758.run(TempTestCase1574867344758.groovy:23)
Caused by: java.lang.reflect.InvocationTargetException
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
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:139)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.startApplication(WindowsDriverFactory.java:87)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.startApplication(WindowsDriverFactory.java:76)
at com.kms.katalon.core.windows.driver.WindowsDriverFactory$startApplication.call(Unknown Source)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy:32)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:77)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:31)
at com.kms.katalon.core.windows.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:27)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords.startApplication(WindowsBuiltinKeywords.java:31)
at com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords$startApplication.call(Unknown Source)
at Script1574854015001.run(Script1574854015001.groovy:18)
… 10 more
Caused by: org.openqa.selenium.WebDriverException: Failed to locate opened application window with appId: C:\Users\Public\Desktop\ABC Client TEST.lnk, and processId: 10751 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.55 seconds
Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’
System info: host: β€˜97C9G12-NR’, ip: β€˜10.64.130.69’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’
Driver info: driver.version: WindowsDriver
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)
… 36 more
)

Hello All, any update regarding this error? I am facing the same issue. Could some one please help.

i have the same problem , did you solve it ?

1 Like

I am getting the same problem any one able to resolve it???

I met the same problem too. Actually the application was opened after I clicked β€œstart” button in β€œSpy Window Objects”, but also get this Warning message and couldn’t continue work.
the warning message details is :
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\CCleaner\CCleaner.exe, and processId: 10792 (WARNING: The server did not provide any stacktrace information)

What is the solution for this error message.I am also facing same issue