disover katalon
Katalon Apprentice
11/08/2018

Why the built in keyword doesn't return false boolean value as per the Katalon documentation ???????

Why the built in keyword doesn't return false boolean value as per the Katalon documentation, instead the script fails.

WebUI.verifyElementAttributeValue 

WebUI.verifyElementHasAttribute

11-08-2018 10:32:21 PM - [INFO]   - Finding web element with id: 'Object Repository/disabled_dropdown' located by 'By.xpath: //*[@id = 'PWCMasterPage_PWCWebPartManager_gwpBookingDeatilsLinksFr1_BookingDeatilsLinksFr1_ConsolidatedEventsLs1_drpStatus']' in '5' second(s)
11-08-2018 10:32:21 PM - [INFO]   - Found 1 web elements with id: 'Object Repository/disabled_dropdown' located by 'By.xpath: //*[@id = 'PWCMasterPage_PWCWebPartManager_gwpBookingDeatilsLinksFr1_BookingDeatilsLinksFr1_ConsolidatedEventsLs1_drpStatus']' in '5' second(s)
11-08-2018 10:32:21 PM - [FAILED] - Object 'Object Repository/disabled_dropdown' does not have attribute 'disabled_X'
11-08-2018 10:32:21 PM - [FAILED] - Unable to verify if object 'Object Repository/disabled_dropdown' has attribute 'disabled_X' (Root cause: Object 'Object Repository/disabled_dropdown' does not have attribute 'disabled_X')
11-08-2018 10:32:21 PM - [END]    - End action : Statement - err.println(com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyElementHasAttribute(com.kms.katalon.core.testobject.ObjectRepository.findTestObject(disabled_dropdown), "disabled_X", 5))
11-08-2018 10:32:21 PM - [FAILED] - Test Cases/Working Folder/Verify/Verify_Disabled_TextBox FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to verify if object 'Object Repository/disabled_dropdown' has attribute 'disabled_X' (Root cause: Object 'Object Repository/disabled_dropdown' does not have attribute 'disabled_X')
	at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
Upvote
Quote

Comments

Sign In or Register to comment.