Hi guyz,
I have one element which changes color on click, but I don’t see any color attribute in the object details, in both the situation i.e. before and after clicking the element.
Can anybody help me on that… how can I get the color of element.
have tried this
String css_color = WebUI.getCSSValue(findTestObject(‘Booking Flow/Search result/FavoriteButtonSearchResult’), ‘color’)
println(css_color)
//WebUI.verifyEqual(css_color, )
and this shows following error
Cannot get CSS ‘color’ value on ‘Object Repository/Booking Flow/Search result/FavoriteButtonSearchResult’. (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Thanks!