Tests are now false-passing with a broken step


#2

Are your test steps showing as “passed” or “warning”? If it’s warning, it may relate to this thread: FailureHandling Change breaks legacy code (was STOP_ON_FAILURE does not stop a test when verifyElementPresent returns false)


#3

@RyanS550

What version are you using ? Can we see the script ?


#4

They are showing as passed


#5

This is on version 7.0.10

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘https://URL.com/login’)

WebUI.setText(findTestObject(‘Object Repository/Page_Application - Login/input_Sign in_userName’), GlobalVariable.Username)

WebUI.setEncryptedText(findTestObject(‘Object Repository/Page_Application - Login/input_Sign in_password’), GlobalVariable.Password)

WebUI.click(findTestObject(‘Page_Application - Login/button_Login’))

WebUI.delay(1)

WebUI.click(findTestObject(‘Page_Dashboard/h1_Dashboard’))

WebUI.click(findTestObject(‘Page_Dashboard/li_VT Payments’))

WebUI.delay(1)

WebUI.click(findTestObject(‘Page_Dashboard/li_Authorization’))

WebUI.delay(1)

WebUI.click(findTestObject(‘Page_Auth Payment/h1_VT Auth’))

WebUI.setText(findTestObject(‘Page_Auth Payment/input_Amount_transactionAmount’), ‘5.00’)

WebUI.setText(findTestObject(‘Page_Auth Payment/input_Card Number_cardNumber’), ‘CardNumber’)

WebUI.setText(findTestObject(‘Page_Auth Payment/input_Expiration Date_expirati’), ‘Date’)

WebUI.setText(findTestObject(‘Page_Auth Payment/input_Billing Zip_billingZip’), ‘ZIP’)

WebUI.setEncryptedText(findTestObject(‘Page_Auth Payment/input_Security Code_cvv2’), ‘CVV’)

WebUI.click(findTestObject(‘Page_Auth Payment/button_Process Payment’))

WebUI.delay(5)

WebUI.click(findTestObject(‘Page_Auth Payment/header_Transaction Approved 2’))

WebUI.click(findTestObject(‘Page_Auth Payment/button_’)) <-- THIS IS THE STEP THAT IS BROKEN

WebUI.delay(1)

WebUI.click(findTestObject(‘Page_Auth Payment/p_Ryan Admin’))

WebUI.click(findTestObject(‘Page_Auth Payment/a_Log Out’))

WebUI.closeBrowser()


#6

@RyanS550

Which step was supposed to fail may I ask, and what is the expected reason ? Please try to execute the test on an older version and post the console log here.


#7

So the step does not normally fail however, I noticed the xpath needs adjusting so this step “WebUI.click(findTestObject(‘Page_Auth Payment/button_’))” now SHOULD be providing a failure and the test should end but, what I am seeing in the log viewer is the step passing after 30 seconds of waiting and then state: “Object is clicked on”. This step is to close a receipt pop up to be able to continue with a page and log out but passes without clicking the object and all steps after end up passing as well. Watching the test it seems none of the steps to follow are achieved but still individually pass in the log viewer before the test is closed with a pass. Previously a similar scenario would be providing a failure and not attempt to finish the test or be able to do so successfully. Also when attempting to load an older version of Katalon my tests were not able to open I believe it was a compatibility issue with the chrome driver which is what caused me to update Katalon.


#8

If I’m following this correctly…

Only if findTestObject fails AND you have default FailureHandling set to STOP_ON_FAILURE

Create a new Test Case, add this:

WebUI.openBrowser('wherever')
TestObject to = findTestObject('Page_Auth Payment/button_')

Send the test to the page in question and let us know what happens.

To test this scenario, let’s give Katalon nothing to work with - that should force an error you claim you’re not seeing:

WebUI.openBrowser('wherever')
WebUI.click(null)

#9

So my default failure handling is always set to STOP_ON_FAILURE and I already use findTestObject on all my tests? When attempting to run the test using the null object Katalon will not run or even revert from script to manual view without popping up a script error.

My concern is that with the older version of Katalon (6.3.2) tests would accurately execute steps whether it was a failure and stop the test or success and pass results accordingly. Now with the new update (7.0.10) I am reading from threads I may need to add additional functions for the objects in my scripts? Is there something else that maybe I am perhaps missing in the settings that will return accuracy in the test steps when verifying a failure or success? Mainly, if the correct xpath is not found then from what I used to observe the test should fail and end based on the set ups I have been providing. Currently I am not seeing the same behaviour when a test fails (IE: object is NOT clicked) as the rest of the steps since the update just provide passes. Is there something I can do to get the same results from 6.3.2 without having the changing hundreds and hundreds of scripts? This makes me believe the issue is on Katalon’s new behaviour as if anything fails to get clicked on, instead of tests failing, tests will now just pass?


#10

Hi @RyanS550

Except for verifyElementPresent whose behavior was reverted to the old one, we have not changed any failure handling mechanism, so I highly doubt that it’s the problem.

To clarify, when you say that the test should fail when clicking on an object, can you specify a particular reason ? For example, the xpath is wrong, or something like that ?

Regarding the part about old version of Katalon having Chrome Driver incompatibility issues, you can manually update Web Driver for any version of Katalon Studio, and it should not be a problem.

To further progress, I think we should do some differential, meaning take the same test to execute on the new version and an old one to compare the log results.


#11

Hi @RyanS550

We have released 7.1 (Release note) which includes more logging information to help troubleshoot problems when clicking seems to pass but the actual effect does not occur.

Please use 7.1, and then enable detailed logs in Include/config/log.properties.

And execute your tests again, then give us the log when the test (supposedly) passes. The console log should contain lines like this:


#12

Hi Thanh! Sorry if my wording is awkward.
What I mean by that is with a broken xpath in the object/click the test’s to my experience stop and fail. This behavior is what my tests are built around but for some reason in some tests I am seeing the log viewer run through steps and pass steps that are not being met? I have this object and it’s xpath changed on the web-page (pop up window close button) and the object is still set up to click on the button, but the button now has a new xpath. So the object is not able to see the button anymore (I am assuming) and when observing the test during the run I see the object is not clicked on. My concern is I am used to seeing the test fail and not continue anymore steps but I am seeing the step I know should be failing, pass when the object is not being clicked and should be returning a failure instead of continuing. Is there something different in the set up that I can try before I download the new release? My failure handling is always set to stop on failure.


#13

@RyanS550

I understand. Like I said one thing you should do first is to execute the tests on the earlier version (when it was working as expected) and give us the console log. It’d help to identify wether the XPath locators were the primary reasons why the test fails (I understands failing is an expected behavior, but the cause is still important).

After you do that, then I suggest try version 7.1.0 and execute the tests again. Note that we only added some logs so the test would still (falsely) pass, but if you did as I instructed on the log.properties then we may be able to pinpoint what the WebUI.click was trying to do. From 7.0 Click keyword attempts multiple click strategies, therefore one of them may be producing this behavior we’re observing.


#14

Hi Thanh, I am sorry for the late reply!
This test was done on version 5.8.6
This test eventually navigates to a page where an object is to be expected and clicked on but the button is not currently present. What was expected from the test is the test should then fail and does so in the previous version however, in the new version the test continues and provides a false pass.

This is the test’s script:
(The bold step is the step that is currently missing on my webpage that the test fails on from the previous version but passes through on the new update)

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import internal.GlobalVariable as GlobalVariable
WebUI.openBrowser(’’)
WebUI.navigateToUrl(‘URL’)
WebUI.setText(findTestObject(‘Object Repository/Page_ - Login/input_Sign in_userName’), GlobalVariable.QASIDUser)
WebUI.setEncryptedText(findTestObject(‘Object Repository/Page_ - Login/input_Sign in_password’), GlobalVariable.QASIDPassword)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_ - Login/button_Login’))
WebUI.delay(1)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Dashboard/a_VT Payments’))
WebUI.delay(1)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization’))
WebUI.delay(1)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth’))
WebUI.setText(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’), ‘2.00’)
WebUI.setText(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’), ‘CardNumber’)
WebUI.setText(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’), ‘CardExp’)
WebUI.setText(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’), ‘BillingZip’)
WebUI.setEncryptedText(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’), ‘CVV2’)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment’))
WebUI.delay(2)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2’))
WebUI.click(findTestObject(‘Page_Auth Payment/button_ - Auth’))
WebUI.delay(1)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust’))
WebUI.delay(1)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Mark for Capture’))
WebUI.delay(2)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/header_Please Confirm’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/content_Are you sure Pleasecon’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Confirm’))
WebUI.delay(2)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/h4_Success’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/div_Transactions have been mar’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_’))
WebUI.delay(1)
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/p_Ryan Admin’))
WebUI.click(findTestObject(‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Log Out’))
WebUI.closeBrowser()


#15

This is the Console view from the same test: (Run from the previous version, which fails properly as expected)

12-04-2019 10:06:58 AM - [START] - Start Test Case : Test Cases/QA Finished Test Cases/SID-5689 (ED1995) Virtual Terminal - Capture
12-04-2019 10:06:58 AM - [INFO] - Evaluating variables for test case
12-04-2019 10:06:59 AM - [START] - Start action : openBrowser
12-04-2019 10:06:59 AM - [INFO] - Opening browser
12-04-2019 10:06:59 AM - [INFO] - Starting ‘Chrome’ driver
12-04-2019 10:06:59 AM - [INFO] - Action delay is set to 0 seconds
Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 28430
Only local connections are allowed.
Dec 04, 2019 10:07:02 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
12-04-2019 10:07:02 AM - [RUN_DATA] - Logging run data ‘sessionId’ with value ‘09a99bf67da536082622ef0aaf0183d2’
12-04-2019 10:07:02 AM - [RUN_DATA] - Logging run data ‘browser’ with value ‘Chrome 78.0.3904.108’
12-04-2019 10:07:02 AM - [RUN_DATA] - Logging run data ‘platform’ with value ‘Windows 10’
12-04-2019 10:07:02 AM - [RUN_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’
12-04-2019 10:07:02 AM - [RUN_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’
12-04-2019 10:07:02 AM - [PASSED] - Browser is opened with url: ‘’
12-04-2019 10:07:02 AM - [END] - End action : openBrowser
12-04-2019 10:07:02 AM - [START] - Start action : navigateToUrl
12-04-2019 10:07:02 AM - [INFO] - Checking url
12-04-2019 10:07:02 AM - [INFO] - Navigating to ‘URL’
12-04-2019 10:07:03 AM - [PASSED] - Navigate to ‘URL’ successfully
12-04-2019 10:07:03 AM - [END] - End action : navigateToUrl
12-04-2019 10:07:03 AM - [START] - Start action : setText
12-04-2019 10:07:03 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page_ - Login/input_Sign in_userName’
12-04-2019 10:07:03 AM - [INFO] - Checking object
12-04-2019 10:07:03 AM - [INFO] - Checking text
12-04-2019 10:07:03 AM - [INFO] - Checking timeout
12-04-2019 10:07:03 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_ - Login/input_Sign in_userName’ located by ‘By.xpath: //input[@name=‘userName’]’ in ‘15’ second(s)
12-04-2019 10:07:03 AM - [INFO] - Found 2 web elements with id: ‘Object Repository/Page_ - Login/input_Sign in_userName’ located by ‘By.xpath: //input[@name=‘userName’]’ in ‘15’ second(s)
12-04-2019 10:07:03 AM - [INFO] - Clearing text of object ‘Object Repository/Page_ - Login/input_Sign in_userName’
12-04-2019 10:07:03 AM - [INFO] - Checking timeout
12-04-2019 10:07:03 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_ - Login/input_Sign in_userName’ located by ‘By.xpath: //input[@name=‘userName’]’ in ‘15’ second(s)
12-04-2019 10:07:03 AM - [INFO] - Found 2 web elements with id: ‘Object Repository/Page_ - Login/input_Sign in_userName’ located by ‘By.xpath: //input[@name=‘userName’]’ in ‘15’ second(s)
12-04-2019 10:07:03 AM - [INFO] - Setting text of object ‘Object Repository/Page_ - Login/input_Sign in_userName’ to value ‘Ryan1’
12-04-2019 10:07:03 AM - [PASSED] - Text ‘Ryan1’ is set on object ‘Object Repository/Page_ - ogin/input_Sign in_userName’
12-04-2019 10:07:03 AM - [END] - End action : setText
12-04-2019 10:07:03 AM - [START] - Start action : setEncryptedText
12-04-2019 10:07:03 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page_ - Login/input_Sign in_password’
12-04-2019 10:07:03 AM - [INFO] - Checking object
12-04-2019 10:07:03 AM - [INFO] - Checking text
12-04-2019 10:07:03 AM - [INFO] - Checking timeout
12-04-2019 10:07:03 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_ - Login/input_Sign in_password’ located by ‘By.xpath: //input[@id=‘password’]’ in ‘15’ second(s)
12-04-2019 10:07:03 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_ - Login/input_Sign in_password’ located by ‘By.xpath: //input[@id=‘password’]’ in ‘15’ second(s)
12-04-2019 10:07:03 AM - [INFO] - Clearing text of object ‘Object Repository/Page_ - Login/input_Sign in_password’
12-04-2019 10:07:03 AM - [INFO] - Setting text of object ‘Object Repository/Page_ - Login/input_Sign in_password’ to value ******
12-04-2019 10:07:03 AM - [PASSED] - Text ****** has been set on object ‘Object Repository/Page_ - Login/input_Sign in_password’
12-04-2019 10:07:03 AM - [END] - End action : setEncryptedText
12-04-2019 10:07:03 AM - [START] - Start action : click
12-04-2019 10:07:03 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_ - Login/button_Login’
12-04-2019 10:07:04 AM - [INFO] - Checking object
12-04-2019 10:07:04 AM - [INFO] - Checking timeout
12-04-2019 10:07:04 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_ - Login/button_Login’ located by ‘By.xpath: //button[@id=‘loginButton’]’ in ‘15’ second(s)
12-04-2019 10:07:04 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_ - Login/button_Login’ located by ‘By.xpath: //button[@id=‘loginButton’]’ in ‘15’ second(s)
12-04-2019 10:07:04 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_ - Login/button_Login’
12-04-2019 10:07:09 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_ - Login/button_Login’ is clicked on
12-04-2019 10:07:09 AM - [END] - End action : click
12-04-2019 10:07:09 AM - [START] - Start action : delay
12-04-2019 10:07:09 AM - [INFO] - Delaying browser in 1 second(s)
12-04-2019 10:07:10 AM - [PASSED] - Delayed 1 second(s)
12-04-2019 10:07:10 AM - [END] - End action : delay
12-04-2019 10:07:10 AM - [START] - Start action : click
12-04-2019 10:07:10 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard’
12-04-2019 10:07:10 AM - [INFO] - Checking object
12-04-2019 10:07:10 AM - [INFO] - Checking timeout
12-04-2019 10:07:10 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard’ located by ‘By.xpath: //div[@id=‘page-content-wrapper’]/div/app-dashboard/template-header/div/div/h1’ in ‘15’ second(s)
12-04-2019 10:07:10 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard’ located by ‘By.xpath: //div[@id=‘page-content-wrapper’]/div/app-dashboard/template-header/div/div/h1’ in ‘15’ second(s)
12-04-2019 10:07:10 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard’
12-04-2019 10:07:10 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard’ is clicked on
12-04-2019 10:07:10 AM - [END] - End action : click
12-04-2019 10:07:10 AM - [START] - Start action : click
12-04-2019 10:07:10 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Dashboard/a_VT Payments’
12-04-2019 10:07:10 AM - [INFO] - Checking object
12-04-2019 10:07:10 AM - [INFO] - Checking timeout
12-04-2019 10:07:10 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Dashboard/a_VT Payments’ located by ‘By.xpath: //li[@id=‘payments’]/a’ in ‘15’ second(s)
12-04-2019 10:07:10 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Dashboard/a_VT Payments’ located by ‘By.xpath: //li[@id=‘payments’]/a’ in ‘15’ second(s)
12-04-2019 10:07:10 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Dashboard/a_VT Payments’
12-04-2019 10:07:10 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Dashboard/a_VT Payments’ is clicked on
12-04-2019 10:07:10 AM - [END] - End action : click
12-04-2019 10:07:10 AM - [START] - Start action : delay
12-04-2019 10:07:10 AM - [INFO] - Delaying browser in 1 second(s)
12-04-2019 10:07:11 AM - [PASSED] - Delayed 1 second(s)
12-04-2019 10:07:11 AM - [END] - End action : delay
12-04-2019 10:07:11 AM - [START] - Start action : click
12-04-2019 10:07:11 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization’
12-04-2019 10:07:11 AM - [INFO] - Checking object
12-04-2019 10:07:11 AM - [INFO] - Checking timeout
12-04-2019 10:07:11 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization’ located by ‘By.xpath: //li[@id=‘virtualTerminalAuth’]/a’ in ‘15’ second(s)
12-04-2019 10:07:11 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization’ located by ‘By.xpath: //li[@id=‘virtualTerminalAuth’]/a’ in ‘15’ second(s)
12-04-2019 10:07:11 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization’
12-04-2019 10:07:11 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization’ is clicked on
12-04-2019 10:07:11 AM - [END] - End action : click
12-04-2019 10:07:11 AM - [START] - Start action : delay
12-04-2019 10:07:11 AM - [INFO] - Delaying browser in 1 second(s)
12-04-2019 10:07:12 AM - [PASSED] - Delayed 1 second(s)
12-04-2019 10:07:12 AM - [END] - End action : delay
12-04-2019 10:07:12 AM - [START] - Start action : click
12-04-2019 10:07:12 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth’
12-04-2019 10:07:12 AM - [INFO] - Checking object
12-04-2019 10:07:12 AM - [INFO] - Checking timeout
12-04-2019 10:07:12 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth’ located by ‘By.xpath: //div[@id=‘page-content-wrapper’]/div/app-virtual-terminal-auth/template-header/div/div/h1’ in ‘15’ second(s)
12-04-2019 10:07:12 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth’ located by ‘By.xpath: //div[@id=‘page-content-wrapper’]/div/app-virtual-terminal-auth/template-header/div/div/h1’ in ‘15’ second(s)
12-04-2019 10:07:12 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth’
12-04-2019 10:07:12 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth’ is clicked on
12-04-2019 10:07:12 AM - [END] - End action : click
12-04-2019 10:07:12 AM - [START] - Start action : setText
12-04-2019 10:07:12 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’
12-04-2019 10:07:13 AM - [INFO] - Checking object
12-04-2019 10:07:13 AM - [INFO] - Checking text
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’ located by ‘By.xpath: //input[@id=‘transactionAmount’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’ located by ‘By.xpath: //input[@id=‘transactionAmount’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Clearing text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’ located by ‘By.xpath: //input[@id=‘transactionAmount’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’ located by ‘By.xpath: //input[@id=‘transactionAmount’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Setting text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’ to value ‘2.00’
12-04-2019 10:07:13 AM - [PASSED] - Text ‘2.00’ is set on object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount’
12-04-2019 10:07:13 AM - [END] - End action : setText
12-04-2019 10:07:13 AM - [START] - Start action : setText
12-04-2019 10:07:13 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’
12-04-2019 10:07:13 AM - [INFO] - Checking object
12-04-2019 10:07:13 AM - [INFO] - Checking text
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’ located by ‘By.xpath: //input[@id=‘cardNumber’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’ located by ‘By.xpath: //input[@id=‘cardNumber’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Clearing text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’ located by ‘By.xpath: //input[@id=‘cardNumber’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’ located by ‘By.xpath: //input[@id=‘cardNumber’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Setting text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’ to value ‘CardNumber’
12-04-2019 10:07:13 AM - [PASSED] - Text ‘CardNumber’ is set on object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber’
12-04-2019 10:07:13 AM - [END] - End action : setText
12-04-2019 10:07:13 AM - [START] - Start action : setText
12-04-2019 10:07:13 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’
12-04-2019 10:07:13 AM - [INFO] - Checking object
12-04-2019 10:07:13 AM - [INFO] - Checking text
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’ located by ‘By.xpath: //input[@id=‘expirationDate’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’ located by ‘By.xpath: //input[@id=‘expirationDate’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Clearing text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’ located by ‘By.xpath: //input[@id=‘expirationDate’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’ located by ‘By.xpath: //input[@id=‘expirationDate’]’ in ‘15’ second(s)
12-04-2019 10:07:13 AM - [INFO] - Setting text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’ to value ‘value’
12-04-2019 10:07:13 AM - [PASSED] - Text ‘value’ is set on object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati’
12-04-2019 10:07:13 AM - [END] - End action : setText
12-04-2019 10:07:13 AM - [START] - Start action : setText
12-04-2019 10:07:13 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’
12-04-2019 10:07:13 AM - [INFO] - Checking object
12-04-2019 10:07:13 AM - [INFO] - Checking text
12-04-2019 10:07:13 AM - [INFO] - Checking timeout
12-04-2019 10:07:13 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’ located by ‘By.xpath: //input[@id=‘billingZip’]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’ located by ‘By.xpath: //input[@id=‘billingZip’]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Clearing text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’
12-04-2019 10:07:14 AM - [INFO] - Checking timeout
12-04-2019 10:07:14 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’ located by ‘By.xpath: //input[@id=‘billingZip’]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’ located by ‘By.xpath: //input[@id=‘billingZip’]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Setting text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’ to value ‘zip’
12-04-2019 10:07:14 AM - [PASSED] - Text ‘zip’ is set on object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip’
12-04-2019 10:07:14 AM - [END] - End action : setText
12-04-2019 10:07:14 AM - [START] - Start action : setEncryptedText
12-04-2019 10:07:14 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’
12-04-2019 10:07:14 AM - [INFO] - Checking object
12-04-2019 10:07:14 AM - [INFO] - Checking text
12-04-2019 10:07:14 AM - [INFO] - Checking timeout
12-04-2019 10:07:14 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’ located by ‘By.xpath: //input[@id=‘cvv2’]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’ located by ‘By.xpath: //input[@id=‘cvv2’]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Clearing text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’
12-04-2019 10:07:14 AM - [INFO] - Setting text of object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’ to value ******
12-04-2019 10:07:14 AM - [PASSED] - Text ****** has been set on object ‘Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2’
12-04-2019 10:07:14 AM - [END] - End action : setEncryptedText
12-04-2019 10:07:14 AM - [START] - Start action : click
12-04-2019 10:07:14 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment’
12-04-2019 10:07:14 AM - [INFO] - Checking object
12-04-2019 10:07:14 AM - [INFO] - Checking timeout
12-04-2019 10:07:14 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment’ located by ‘By.xpath: (//button[@type=‘submit’])[2]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment’ located by ‘By.xpath: (//button[@type=‘submit’])[2]’ in ‘15’ second(s)
12-04-2019 10:07:14 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment’
12-04-2019 10:07:14 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment’ is clicked on
12-04-2019 10:07:14 AM - [END] - End action : click
12-04-2019 10:07:14 AM - [START] - Start action : delay
12-04-2019 10:07:14 AM - [INFO] - Delaying browser in 2 second(s)
12-04-2019 10:07:16 AM - [PASSED] - Delayed 2 second(s)
12-04-2019 10:07:16 AM - [END] - End action : delay
12-04-2019 10:07:16 AM - [START] - Start action : click
12-04-2019 10:07:16 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2’
12-04-2019 10:07:16 AM - [INFO] - Checking object
12-04-2019 10:07:16 AM - [INFO] - Checking timeout
12-04-2019 10:07:16 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2’ located by ‘By.xpath: //div[@id=‘transactionResponsePopUp’]/div/div/div/h4/header’ in ‘15’ second(s)
12-04-2019 10:07:16 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2’ located by ‘By.xpath: //div[@id=‘transactionResponsePopUp’]/div/div/div/h4/header’ in ‘15’ second(s)
12-04-2019 10:07:16 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2’
12-04-2019 10:07:16 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2’ is clicked on
12-04-2019 10:07:16 AM - [END] - End action : click
12-04-2019 10:07:16 AM - [START] - Start action : click
12-04-2019 10:07:16 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Auth Payment/button_ - Auth’
12-04-2019 10:07:16 AM - [INFO] - Checking object
12-04-2019 10:07:16 AM - [INFO] - Checking timeout
12-04-2019 10:07:16 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_Auth Payment/button_ - Auth’ located by ‘By.xpath: id(“transactionResponsePopUp”)/div[@class=“modal-dialog x-big”]/div[@class=“modal-content”]/div[@class=“modal-header”]/button[@class=“close”]’ in ‘15’ second(s)
12-04-2019 10:07:16 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Auth Payment/button_ - Auth’ located by ‘By.xpath: id(“transactionResponsePopUp”)/div[@class=“modal-dialog x-big”]/div[@class=“modal-content”]/div[@class=“modal-header”]/button[@class=“close”]’ in ‘15’ second(s)
12-04-2019 10:07:16 AM - [INFO] - Clicking on object: ‘Object Repository/Page_Auth Payment/button_ - Auth’
12-04-2019 10:07:16 AM - [PASSED] - Object: ‘Object Repository/Page_Auth Payment/button_ - Auth’ is clicked on
12-04-2019 10:07:16 AM - [END] - End action : click
12-04-2019 10:07:16 AM - [START] - Start action : delay
12-04-2019 10:07:16 AM - [INFO] - Delaying browser in 1 second(s)
12-04-2019 10:07:17 AM - [PASSED] - Delayed 1 second(s)
12-04-2019 10:07:17 AM - [END] - End action : delay
12-04-2019 10:07:17 AM - [START] - Start action : click
12-04-2019 10:07:17 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust’
12-04-2019 10:07:17 AM - [INFO] - Checking object
12-04-2019 10:07:17 AM - [INFO] - Checking timeout
12-04-2019 10:07:17 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust’ located by ‘By.xpath: //li[@id=‘virtualTerminalCaptureAdjust’]/a’ in ‘15’ second(s)
12-04-2019 10:07:17 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust’ located by ‘By.xpath: //li[@id=‘virtualTerminalCaptureAdjust’]/a’ in ‘15’ second(s)
12-04-2019 10:07:17 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust’
12-04-2019 10:07:17 AM - [PASSED] - Object: ‘Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust’ is clicked on
12-04-2019 10:07:17 AM - [END] - End action : click
12-04-2019 10:07:17 AM - [START] - Start action : delay
12-04-2019 10:07:17 AM - [INFO] - Delaying browser in 1 second(s)
12-04-2019 10:07:18 AM - [PASSED] - Delayed 1 second(s)
12-04-2019 10:07:18 AM - [END] - End action : delay
12-04-2019 10:07:18 AM - [START] - Start action : click
12-04-2019 10:07:18 AM - [INFO] - Finding Test Object with id ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’
12-04-2019 10:07:18 AM - [INFO] - Checking object
12-04-2019 10:07:18 AM - [INFO] - Checking timeout
12-04-2019 10:07:18 AM - [INFO] - Finding web element with id: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’ located by ‘By.xpath: (//button[@type=‘submit’])[2]’ in ‘15’ second(s)
12-04-2019 10:07:18 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’ located by ‘By.xpath: (//button[@type=‘submit’])[2]’ in ‘15’ second(s)
12-04-2019 10:07:18 AM - [INFO] - Clicking on object: ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’
12-04-2019 10:07:19 AM - [FAILED] - Unable to click on object ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not interactable
(Session info: chrome=78.0.3904.108)
(Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘GET-LAP-DEV005’, ip: ‘172.16.193.5’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371…, userDataDir: C:\Users\wwatley\AppData\Lo…}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:58319}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 78.0.3904.108, webStorageEnabled: true}
Session ID: 09a99bf67da536082622ef0aaf0183d2)
12-04-2019 10:07:19 AM - [END] - End action : click
12-04-2019 10:07:19 AM - [FAILED] - Test Cases/QA Finished Test Cases/SID-5689 (ED1995) Virtual Terminal - Capture FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not interactable
(Session info: chrome=78.0.3904.108)
(Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘GET-LAP-DEV005’, ip: ‘172.16.193.5’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371…, userDataDir: C:\Users\wwatley\AppData\Lo…}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:58319}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 78.0.3904.108, webStorageEnabled: true}
Session ID: 09a99bf67da536082622ef0aaf0183d2)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:86)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$3.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at Script1573778504585.run(Script1573778504585.groovy:64)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
at TempTestCase1575482816768.run(TempTestCase1575482816768.groovy:22)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
at groovy.lang.GroovyShell.run(GroovyShell.java:518)
at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)
at groovy.ui.GroovyMain.run(GroovyMain.java:384)
at groovy.ui.GroovyMain.process(GroovyMain.java:370)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)
at groovy.ui.GroovyMain.main(GroovyMain.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
)
12-04-2019 10:07:19 AM - [END] - End Test Case : Test Cases/QA Finished Test Cases/SID-5689 (ED1995) Virtual Terminal - Capture


#16

This is the Console view from the same test: (Run from the updated version which passes the test when a step is not on the page and the test should fail)

2019-12-04 10:40:17.847 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-12-04 10:40:17.847 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/QA Finished Test Cases/SID-5689 (ED1995) Virtual Terminal - Capture
2019-12-04 10:40:18.268 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 1: openBrowser("")
2019-12-04 10:40:18.475 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
Dec 04, 2019 10:40:18 AM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions() is preferred to DesiredCapabilities.chrome()
2019-12-04 10:40:18.503 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 seconds
Starting ChromeDriver 77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442}) on port 16232
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1575484821.451][WARNING]: This version of ChromeDriver has not been tested with Chrome version 78.
[1575484821.599][WARNING]: This version of ChromeDriver has not been tested with Chrome version 78.
[1575484823.603][WARNING]: Timed out connecting to Chrome, retrying…
Dec 04, 2019 10:40:25 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
2019-12-04 10:40:25.679 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:40:25.696 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 78.0.3904.108
2019-12-04 10:40:25.697 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-12-04 10:40:25.698 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-12-04 10:40:25.698 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-12-04 10:40:25.707 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 2: navigateToUrl(“URL”)
2019-12-04 10:40:26.682 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 3: setText(findTestObject(“Object Repository/Page_ - Login/input_Sign in_userName”), User)
2019-12-04 10:40:27.540 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 4: setEncryptedText(findTestObject(“Object Repository/Page_ - Login/input_Sign in_password”), SIDPassword)
2019-12-04 10:40:27.696 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 5: click(findTestObject(“Object Repository/ED - 1995/Page_Edgepay - Login/button_Login”))
2019-12-04 10:40:32.125 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 6: delay(1)
2019-12-04 10:40:33.143 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 7: click(findTestObject(“Object Repository/ED - 1995/Page_Dashboard/h1_Dashboard”))
2019-12-04 10:40:33.249 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 8: click(findTestObject(“Object Repository/ED - 1995/Page_Dashboard/a_VT Payments”))
2019-12-04 10:40:33.376 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 9: delay(1)
2019-12-04 10:40:34.378 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 10: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Authorization”))
2019-12-04 10:40:34.558 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 11: delay(1)
2019-12-04 10:40:35.561 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 12: click(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/h1_VT Auth”))
2019-12-04 10:40:35.643 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 13: setText(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/input_Amount_transactionAmount”), “2.00”)
2019-12-04 10:40:35.765 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 14: setText(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/input_Card Number_cardNumber”), “CardNumber”)
2019-12-04 10:40:36.013 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 15: setText(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/input_Expiration Date_expirati”), “CardExp”)
2019-12-04 10:40:36.187 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 16: setText(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/input_Billing Zip_billingZip”), “Zip”)
2019-12-04 10:40:36.333 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 17: setEncryptedText(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/input_Security Code_cvv2”), “Cvv2”)
2019-12-04 10:40:36.433 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 18: click(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/button_Process Payment”))
2019-12-04 10:40:36.531 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 19: delay(2)
2019-12-04 10:40:38.533 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 20: click(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/header_Transaction Approved 2”))
2019-12-04 10:40:38.637 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 21: click(findTestObject(“Page_Auth Payment/button_ - Auth”))
2019-12-04 10:40:38.719 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 22: delay(1)
2019-12-04 10:40:39.722 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 23: click(findTestObject(“Object Repository/ED - 1995/Page_Auth Payment/a_Capture Adjust”))
2019-12-04 10:40:39.848 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 24: delay(1)
2019-12-04 10:40:40.852 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 25: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Select All”))
2019-12-04 10:40:40.969 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:40:56.484 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\RSCHWA~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:40:56.501 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 26: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Mark for Capture”))
2019-12-04 10:40:56.578 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\RSCHWA~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:41:12.043 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\RSCHWA~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:41:12.058 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 27: delay(2)
2019-12-04 10:41:14.060 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 28: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/header_Please Confirm”))
2019-12-04 10:41:14.145 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:41:29.630 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\RSCHWA~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:41:29.646 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 29: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/content_Are you sure Pleasecon”))
2019-12-04 10:41:29.716 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:41:45.180 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:41:45.194 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 30: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/button_Confirm”))
2019-12-04 10:41:45.253 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:00.295 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:00.317 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 31: delay(2)
2019-12-04 10:42:02.318 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 32: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/h4_Success”))
2019-12-04 10:42:02.388 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:17.891 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:17.907 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 33: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/div_Transactions have been mar”))
2019-12-04 10:42:17.966 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:33.417 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:33.433 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 34: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/button_”))
2019-12-04 10:42:33.494 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:48.964 ERROR c.k.k.c.w.keyword.builtin.ClickKeyword - :x: javascript error: Cannot read property ‘left’ of undefined
(Session info: chrome=78.0.3904.108)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘GET-DSK-DEV010’, ip: ‘172.16.193.3’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 78.0.3904.108, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\R~1.GET\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:52372}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 8d2cb0e7353705631b6181f821a1d828
2019-12-04 10:42:48.978 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 35: delay(1)
2019-12-04 10:42:49.981 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 36: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/p_Ryan Admin”))
2019-12-04 10:42:50.070 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 37: click(findTestObject(“Object Repository/ED - 1995/Page_Capture Adjust Payment/a_Log Out”))
2019-12-04 10:42:50.731 DEBUG 5689 (ED1995) Virtual Terminal - Capture - 38: closeBrowser()
2019-12-04 10:42:51.349 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/QA Finished Test Cases/SID-5689 (ED1995) Virtual Terminal - Capture


#17

@ThanhTo

The above implies that webElement “red-circled” is passing as null/undefined to JavaScript “yellow-line”.

And clearly the Try class twice failed to click with the reassigned webElement. Is that second assignment necessary? IOW, isn’t the webElement returned by findWebElement(to) “blue-circled”, good enough?


#18

@Russ_Thomas

Yes, that seems to be the case. The purpose of the red-circled line is to wait until the element become clickable, but I suppose it may be the case that the element is not clickable (per selenium’s determination).

Thanks @RyanS550 for the detailed report.

I will look into this and let you guys know.


#19

Yes, I got that. But I’m not sure I made myself clear.

webElement is initially assigned on line 52

webElement is reassigned on line 56 - red-circled.

Ignoring the two tries and skipping to the third on line 69, at this point webElement is (in JavaScript parlance) undefined. To me, that says line 56 has trashed it. My question - why reassign it?

I’d be surprised if elementToBeClickable returned a different object.

What does wait.until() return?


#20

It returns a WebElement, and the re-assignment is just a way to express ‘waiting until it is clickable and then do other stuffs’


#21

Thank you! I am really appreciating the help! I have been concerned this new behavior will require changes in all of my tests individually. :sweat_smile:
@Russ_Thomas @ThanhTo I am looking forward to hearing about the resolution to this as I am seeing this in more tests but if there is anything else I can provide please let me know.