issue: not able to use WebUI.verifyImagePresent(findTestObject('Page_xxx/img_LOGO')) on latest 5.1.0

while use verifyImagePresent method, prompt exception as below:
Unable to verify image present (Root cause: java.lang.NoSuchMethodError: com.google.common.base.Objects.toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/Objects$ToStringHelper;)

and checked dependent “com.google.guava_23.0.0.jar” package, but not found “Objects$ToStringHelper” in this jar;

I’ve logged this issue and will have a fix for it soon.

Hi there,

It’s strange because I can’t reproduce your case when we are trying to fix it, but it happens to me at the first time. Can you re-run your test?

double checked on the latest version 5.1.0.2, issue reproduce.

Can copy for me for me your logs? It’s available as log file in /config/.metadata/.log file.

Sure, but seems log content exceed limit of this page, just send the log file via email from my hotmail;

Hi there,

Thanks. I am able to reproduce it. The root cause of it is you are using absolute path for the image. Can you check on ‘Use relative path for image’ checkbox and copy your image into your project’s folder?

Not work by set ‘Use relative path for image’, paste the log as below.

!ENTRY org.eclipse.core.resources 2 10035 2017-11-28 06:37:48.799
!MESSAGE The workspace will exit with unsaved changes in this session.
katalon.versionNumber=5.1.0
katalon.buildNumber=2
Could not find element with Id ‘com.kms.katalon.composer.webservice.handledmenuitem.webServiceRequest’
Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’
Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’
Warning: NLS unused message: Key in: com.kms.katalon.composer.project.constants.composerProjectMessages
Warning: NLS unused message: Key in: com.kms.katalon.composer.testcase.constants.composerTestcaseMessages
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Warning: NLS unused message: PA_LBL_CREATED_DATE in: com.kms.katalon.composer.testsuite.constants.composerTestsuiteMessages
Warning: NLS unused message: PA_LBL_LAST_UPDATED in: com.kms.katalon.composer.testsuite.constants.composerTestsuiteMessages
Warning: NLS unused message: Key in: com.kms.katalon.composer.objectrepository.constant.composerObjectRepositoryMessages
Warning: NLS unused message: ACTIVATED_PROP_NAME in: com.kms.katalon.constants.messages
Warning: NLS unused message: ACTIVATE_INFO_INVALID in: com.kms.katalon.constants.messages
Warning: NLS unused message: ACTIVATION_CODE_INVALID in: com.kms.katalon.constants.messages
Warning: NLS unused message: ACTIVATION_COLLECT_FAIL_MESSAGE in: com.kms.katalon.constants.messages
Warning: NLS unused message: DIA_TITLE_FUNCTIONS_INTRODUCTION in: com.kms.katalon.constants.messages
Warning: NLS unused message: ERR_CONSOLE_MODE in: com.kms.katalon.constants.messages
Warning: NLS unused message: REQUEST_CODE_PROP_NAME in: com.kms.katalon.constants.messages
!SESSION 2017-11-28 06:37:58.141 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_102
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data config

!ENTRY org.eclipse.egit.ui 2 0 2017-11-28 06:38:08.556
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: ‘C:\Users\palmer.piao’. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

Tue Nov 28 06:38:10 CST 2017
{“traits”:{“kat_version”:“5.1.0 build 2”,“project”:1,“test_case”:7,“test_run”:11,“new_project”:0,“new_test_case”:0,“new_test_run”:0,“new_test_case_created”:0,“new_project_created”:0},“userId”:“chenghaoo@hotmail.com”}

Warning: NLS unused message: Key in: com.kms.katalon.composer.integration.qtest.constant.composerIntegrationQtestMessages
Warning: NLS unused message: Key in: com.kms.katalon.composer.webui.constants.composerWebuiMessages
Warning: NLS missing message: DIA_CONFIRM_INSTALL_WEBDRIVER in: com.kms.katalon.composer.webui.constants.composerWebuiMessages
Warning: NLS missing message: DIA_CONFIRM_INSTALL_WEBDRIVER_TITLE in: com.kms.katalon.composer.webui.constants.composerWebuiMessages
Warning: NLS unused message: HAND_INSTANT_BROWSERS_DIA_MESSAGE in: com.kms.katalon.objectspy.constants.objectspyMessages
Warning: NLS unused message: HAND_INSTANT_BROWSERS_DIA_TITLE in: com.kms.katalon.objectspy.constants.objectspyMessages
Warning: NLS unused message: INSTANT_BROWSER_PREFIX in: com.kms.katalon.objectspy.constants.objectspyMessages
Warning: NLS unused message: MENU_ITEM_INSTANT_BROWSERS in: com.kms.katalon.objectspy.constants.objectspyMessages
Warning: NLS unused message: PREF_LBL_INSTANT_BROWSER_PORT in: com.kms.katalon.objectspy.constants.objectspyMessages
Warning: NLS unused message: PREF_LBL_INSTANT_BROWSER_PORT_DO_NOT_SHOW_WARNING_DIALOG in: com.kms.katalon.objectspy.constants.objectspyMessages

verify issue fix on latest Katalon_Studio_Windows_64-5.2.0.1.

Thanks