HI @“Katalon Studio” cool tool.
however i got this issue which is blocking me perhaps some guidance from you guys is needed.
i am running a IE browser session where it automatically closed and then re-started ( i guess its for security purposes ) so it loses the IEdriver session.
11-24-2017 02:49:45 PM - [INFO] - Finding web element with id: ‘Object Repository/frame_main’ located by ‘By.xpath: //frame[count(. | //[@src = ‘bottom.asp’]) = count(//[@src = ‘bottom.asp’])][count(. | //[@name = ‘main’]) = count(//[@name = ‘main’])]’ in ‘30’ second(s)
11-24-2017 02:49:45 PM - [WARNING] - Timeout ‘0’ is invalid. Using default page load timeout: ‘30’
Nov 24, 2017 2:49:45 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: ‘400’ → incorrect JSON status mapping for ‘no such window’ (404 expected)
Nov 24, 2017 2:49:45 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: ‘400’ → incorrect JSON status mapping for ‘no such window’ (404 expected)
11-24-2017 02:49:45 PM - [WARNING] - Cannot take screenshot
11-24-2017 02:49:45 PM - [FAILED] - Unable to wait for object ‘Object Repository/input_B1’ to be clickable (Root cause: org.openqa.selenium.NoSuchWindowException: Unable to find elements on closed window
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘PJ-D3BYTC2’, ip: ‘10.69.1.139’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.selenium.driver.CInternetExplorerDriver
Capabilities {acceptInsecureCerts: false, browserName: internet explorer, browserVersion: 11, javascriptEnabled: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, se:ieOptions: {browserAttachTimeout: 0, elementScrollBehavior: 0, enablePersistentHover: true, ie.browserCommandLineSwitches: , ie.ensureCleanSession: false, ie.fileUploadDialogTimeout: 3000, ie.forceCreateProcessApi: false, ignoreProtectedModeSettings: false, ignoreZoomSetting: false, initialBrowserUrl: http://localhost:45480/, nativeEvents: true, requireWindowFocus: false}, setWindowRect: true}
Session ID: a042e5b1-ce30-4acb-8c19-8b0eb0c3f342
*** Element info: {Using=xpath, value=//frame[count(. | //[@src = ‘bottom.asp’]) = count(//[@src = ‘bottom.asp’])][count(. | //[@name = ‘main’]) = count(//[@name = ‘main’])]})
11-24-2017 02:49:45 PM - [FAILED] - Test Cases/ABC FAILED because (of) Unable to wait for object ‘Object Repository/input_B1’ to be clickable (Root cause: org.openqa.selenium.NoSuchWindowException: Unable to find elements on closed window
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘PJ-D3BYTC2’, ip: ‘10.69.1.139’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.selenium.driver.CInternetExplorerDriver
Capabilities {acceptInsecureCerts: false, browserName: internet explorer, browserVersion: 11, javascriptEnabled: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, se:ieOptions: {browserAttachTimeout: 0, elementScrollBehavior: 0, enablePersistentHover: true, ie.browserCommandLineSwitches: , ie.ensureCleanSession: false, ie.fileUploadDialogTimeout: 3000, ie.forceCreateProcessApi: false, ignoreProtectedModeSettings: false, ignoreZoomSetting: false, initialBrowserUrl: http://localhost:45480/, nativeEvents: true, requireWindowFocus: false}, setWindowRect: true}
Session ID: a042e5b1-ce30-4acb-8c19-8b0eb0c3f342
is there a way for Web keyword or a workaround to re-use/renew a running session? i cant see any existing keyword that can be used.
thanks Katalon