My logine feature file not working. Please help . my version 9 above katalon studio

2024-01-11 18:48:58.449 INFO c.k.k.core.main.WSVerificationExecutor - --------------------
2024-01-11 18:48:58.455 INFO c.k.k.core.main.WSVerificationExecutor - START Verification
2024-01-11 18:48:58.674 DEBUG testcase. - 1: runFeatureFile(“Include/features/LoginHRM.feature”)
2024-01-11 18:48:58.773 INFO c.k.k.c.c.k.CucumberBuiltinKeywords - Starting run keyword runFeatureFile: ‘Include/features/LoginHRM.feature’ and extract report to folder: ‘C:\Users\INNOBL~1\AppData\Local\Temp\Katalon\Include\features\LoginHRM.feature\20240111_184852/cucumber_report/1704979138756’…
2024-01-11 18:48:59.232 INFO c.runtime.formatter.CucumberReporter - --------------------
2024-01-11 18:48:59.233 INFO c.runtime.formatter.CucumberReporter - START SCENARIO To verify user can able to login
2024-01-11 18:48:59.234 DEBUG c.runtime.formatter.CucumberReporter - STEP User navigate to login page
2024-01-11 18:48:59.237 WARN c.runtime.formatter.CucumberReporter - SKIP User navigate to login page
2024-01-11 18:48:59.239 DEBUG c.runtime.formatter.CucumberReporter - STEP User enter and
2024-01-11 18:48:59.240 WARN c.runtime.formatter.CucumberReporter - SKIP User enter and
2024-01-11 18:48:59.241 DEBUG c.runtime.formatter.CucumberReporter - STEP Click login button
2024-01-11 18:48:59.242 WARN c.runtime.formatter.CucumberReporter - SKIP Click login button
2024-01-11 18:48:59.243 DEBUG c.runtime.formatter.CucumberReporter - STEP User is redirected to home page
2024-01-11 18:48:59.243 WARN c.runtime.formatter.CucumberReporter - SKIP User is redirected to home page
2024-01-11 18:48:59.247 WARN c.runtime.formatter.CucumberReporter - SKIP SCENARIO To verify user can able to login
2024-01-11 18:48:59.248 INFO c.runtime.formatter.CucumberReporter - END SCENARIO To verify user can able to login

e[33mUndefined scenarios:e[0m
e[33mC:/Users/Innoblitz/Katalon Studio/sample flow/Include/features/LoginHRM.feature:11 e[0m# To verify user can able to login

1 Scenarios (e[33m1 undefinede[0m)
4 Steps (e[33m4 undefinede[0m)
0m0.106s

You can implement missing steps with the snippets below:

@Given(“User navigate to login page”)
public void user_navigate_to_login_page() {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}

@When(“User enter and ”)
public void user_enter_username_and_password() {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}

@When(“Click login button”)
public void click_login_button() {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}

@Then(“User is redirected to home page”)
public void user_is_redirected_to_home_page() {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}

2024-01-11 18:48:59.408 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Feature file ‘Include/features/LoginHRM.feature’ was failed
2024-01-11 18:48:59.423 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Keyword runFeatureFile was failed (Root cause: com.kms.katalon.core.exception.StepFailedException: Feature file ‘Include/features/LoginHRM.feature’ was failed
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:51)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:23)
at com.kms.katalon.core.keyword.internal.KeywordMain$stepFailed$0.call(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runFeatureFile_closure1.doCall(CucumberBuiltinKeywords.groovy:116)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runFeatureFile_closure1.doCall(CucumberBuiltinKeywords.groovy)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:75)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:69)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runFeatureFile(CucumberBuiltinKeywords.groovy:77)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runFeatureFile.callStatic(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runFeatureFile(CucumberBuiltinKeywords.groovy:256)
at WSVerification1704979138621.run(WSVerification1704979138621:2)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.WSVerificationExecutor.runScript(WSVerificationExecutor.java:180)
at com.kms.katalon.core.main.WSVerificationExecutor.doExecute(WSVerificationExecutor.java:174)
at com.kms.katalon.core.main.WSVerificationExecutor.processExecutionPhase(WSVerificationExecutor.java:157)
at com.kms.katalon.core.main.WSVerificationExecutor.accessMainPhase(WSVerificationExecutor.java:149)
at com.kms.katalon.core.main.WSVerificationExecutor.execute(WSVerificationExecutor.java:131)
at com.kms.katalon.core.main.TestCaseMain.runFeatureFile(TestCaseMain.java:167)
at TempTempCase1704979132623.run(TempTempCase1704979132623.groovy:25)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
)
2024-01-11 18:48:59.428 ERROR c.k.k.core.main.WSVerificationExecutor - :x: Verification FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Feature file ‘Include/features/LoginHRM.feature’ was failed
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:51)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:23)
at com.kms.katalon.core.keyword.internal.KeywordMain$stepFailed$0.call(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runFeatureFile_closure1.doCall(CucumberBuiltinKeywords.groovy:116)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runFeatureFile_closure1.doCall(CucumberBuiltinKeywords.groovy)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:75)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:69)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runFeatureFile(CucumberBuiltinKeywords.groovy:77)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runFeatureFile.callStatic(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runFeatureFile(CucumberBuiltinKeywords.groovy:256)
at WSVerification1704979138621.run(WSVerification1704979138621:2)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.WSVerificationExecutor.runScript(WSVerificationExecutor.java:180)
at com.kms.katalon.core.main.WSVerificationExecutor.doExecute(WSVerificationExecutor.java:174)
at com.kms.katalon.core.main.WSVerificationExecutor.processExecutionPhase(WSVerificationExecutor.java:157)
at com.kms.katalon.core.main.WSVerificationExecutor.accessMainPhase(WSVerificationExecutor.java:149)
at com.kms.katalon.core.main.WSVerificationExecutor.execute(WSVerificationExecutor.java:131)
at com.kms.katalon.core.main.TestCaseMain.runFeatureFile(TestCaseMain.java:167)
at TempTempCase1704979132623.run(TempTempCase1704979132623.groovy:25)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2024-01-11 18:48:59.432 INFO c.k.k.core.main.WSVerificationExecutor - END Verification

1 Like

plugins {
id ‘java’
id “com.katalon.gradle-plugin” version “0.0.7”
}

repositories {
mavenCentral()
}

dependencies {
// sample dependencies
// rest-assured
// compile ‘io.rest-assured:rest-assured:3.2.0’
// JsonPath
// compile ‘io.rest-assured:json-path:3.2.0’
// XmlPath
// compile ‘io.rest-assured:json-path:3.2.0’
// JSON Schema Validation
// compile ‘io.rest-assured:json-schema-validator:3.2.0’
}

This my gradle