Switch to windows title failed sometimes to identifying the windows object

2020-04-17 12:34:46.161 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Expected condition failed: waiting for com.kms.katalon.core.windows.keyword.helper.WindowsActionHelper$1@72ee5d84 (tried for 60 second(s) with 5000 milliseconds interval)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘EGW-DT-Q10’, ip: ‘10.10.44.250’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown (Root cause: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.kms.katalon.core.windows.keyword.helper.WindowsActionHelper$1@72ee5d84 (tried for 60 second(s) with 5000 milliseconds interval)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘EGW-DT-Q10’, ip: ‘10.10.44.250’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:304)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.kms.katalon.core.windows.keyword.helper.WindowsActionHelper.switchToWindowTitle(WindowsActionHelper.java:261)
at com.kms.katalon.core.windows.keyword.helper.WindowsActionHelper$switchToWindowTitle$0.call(Unknown Source)
at com.kms.katalon.core.windows.keyword.builtin.SwitchToWindowTitleKeyword$_switchToWindowTitle_closure1.doCall(SwitchToWindowTitleKeyword.groovy:40)
at com.kms.katalon.core.windows.keyword.builtin.SwitchToWindowTitleKeyword$_switchToWindowTitle_closure1.doCall(SwitchToWindowTitleKeyword.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:77)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword$0.call(Unknown Source)
at com.kms.katalon.core.windows.keyword.builtin.SwitchToWindowTitleKeyword.switchToWindowTitle(SwitchToWindowTitleKeyword.groovy:39)
at com.kms.katalon.core.windows.keyword.builtin.SwitchToWindowTitleKeyword.execute(SwitchToWindowTitleKeyword.groovy:35)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:72)
at com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords.switchToWindowTitle(WindowsBuiltinKeywords.java:765)
at com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords$switchToWindowTitle$0.call(Unknown Source)

Hi @wfskatalon01,

This is a well-known issue. We will try to fix this in the next release. Before then, there are some suggestions to work around this issue.

  1. Close all unneeded apps (close opened folders too). Just keep only Katalon Studio.
  2. Keep your desktop and your taskbar as clean as possible (e.g. remove some unused shortcuts)
  3. Just use Windows.startApplication(…) instead of Windows.startApplicationWithTitle(…)

Hello, I am automating desktop applications for the first time and I have the following problem, it allows me to capture an object from the Screen view but when I go to capture a second object I get the following error, could you please help me?