Wrong custom keyword selected by Katalon


#1

Operating System Windows 10 Home

Katalon Studio Version tested on 5.9.1 and 5.10.1

Katalon Studio logs see screenshots

Environment (for Web testing) UI Test automation

  • Browser and Browser version Chrome 71.0.3578.98

Steps to reproduce

I’m using custom keywords and until version 5.8.6 they worked fine. On versions 5.9.1 and 5.10.1 the same keyword is failing in a same place
The problem occurs when executing keyword “verifyElementVisible_fc”: it fails but in log it shows that place there it failed was in keyword “verifyElementVisible_2X_fc” (see screenshot).
I have tried deleting test scripts keywords (action lines) and adding them again with a same parameters, but it still failed in 2nd keyword place.

Please also provide your test scripts if possible.

Screenshots / Videos
Version 5.8.6 custom keyword log


Version 5.9.1 / 5.10.1 custom keyword log with custom keyword code. Arrow shows the place where the test fails


#2

Thank you for the report. Was it the only failed step in this test case?


#3

Yes, there was one failing step before that used mentioned custom keyword “verifyElementVisible_2X_fc”. I have tried disabling that step and run test again and it ‘magically’ succeeded (see screenshot). One detail: the failed action that should not fail is a last in test script in both tests.