I’m trying to write step definitions with Serenity Cucumber BDD This is my feature: My step definition How can I use “userName” and “password” instead of “word” in the step definition I try to give the parameter definition shown below, but it doesn’t work Answer If you are using Cucumber you’ve got it almost right. I don’t actually know what
Tag: serenity-bdd
Error when running springboot with Cucmber and Serenity
I am trying to test my spring boot application using serenity-cucumber. To do this , I have my entry point: Then my Baseclass to be used by step defs, And , one of my step defs is running some dummy tests at this point to work as glue. My feature class: I have imported the following dependencies, (have also tried
Getting the value from the response element using GPath and Rest Assured
I want to get the value of status from my response. So that i can assert it. I’m using rest assured with java & serenity BDD. Response So, here the event id (66e326db-fbfb-4f6e-9d2b-9425e7test5) is dynamic, which means for each run this UUID will get change. Code When i run this, i’m getting Unrecognized Exception from serenity BDD. I think, that
Failed to generate .log file, but output console is there
I have tried to implement logs in the Serenity Cucumber framework and it prints logs in the console but doesn’t generate a .log file. This is logback-test.xml under src/test/resources <…
How can I use getText to capture text on lines which aren’t tagged?
I have the following web element, which looks like this when inspecting the web page element in the browser:
Your reference is &…