Need help with SLF4J Error, can't run my test


I’m pretty new to automation and Katalon Studio tool, please bear with me.

I’ve been receiving this error when I’m attempted to create BDD test via this video tutorial:

And I receive this error:

SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See SLF4J Error Codes for further details.
2019-02-19 17:15:50.208 INFO c.k.k.core.main.WSVerificationExecutor - --------------------
2019-02-19 17:15:50.210 INFO c.k.k.core.main.WSVerificationExecutor - START Verification
2019-02-19 17:15:51.007 INFO c.k.k.c.c.k.CucumberBuiltinKeywords - Starting run keyword runFeatureFile: ‘Include/features/1. Login (TOT-4348)/Login.feature’ and extract report to folder: ‘/var/folders/z_/2tzgf8t12xj72n2kwcr591x00000gr/T/Katalon/Include/features/1. Login (TOT-4348)/Login.feature/20190219_171544/cucumber_report/1550596550998’…

0 Scenarios
0 Steps

2019-02-19 17:15:52.281 INFO c.k.k.core.main.WSVerificationExecutor - END Verification

Anyone have any ideas why this is? Any help would be greatly appreciated.

Hi @chris4

What is the expected behavior ? Please provide us with more information such as screenshots and what you were trying to do.

Regards !

Hi @ThanhTo

Here below is my step defination file - Its very basic to test that BBD can work.

Here is what I receive from my “Problems” tab below:

Here is what I receive from my Console tab:

In terms of behavior, It is typical login flow for an website. Its just basic test to see if BDD can be used/work. I hope that answers your question & provides you with enough info. Thanks

Hi @chris4

I notice in your LoginSteps.groovy in the function I_Click_login_buton() you use another annotation. I think this is why the error tells you that it was expecting { but recevied @. Could you try refactor it into two different functions and see if it works ?

Regards !