Questions tagged [cucumber-serenity]

Inquiries about implementing Serenity alongside the Cucumber BDD testing framework

Encountering a null pointer exception when attempting to declare a WebElementFacade within a page object

While attempting to implement the page object model in Serenity BDD, I encountered a null pointer exception when declaring WebElementFacade in my page object. Below is the code for my page object class: package PageObjects; import net.serenitybdd.core.an ...

Are there any specific settings for the Internet Explorer webdriver in Serenity that allow for bypassing security certificates?

Just to give some background, I utilize a serenity.properties file for configuring my webdriver settings. Currently, I am working with serenity 2/cucumber 4/java. I was hoping to implement something along the lines of how Chrome driver interacts with sere ...

Configure Serenity's Capability to overlook any UnhandledAlertException

Just dipping my toes into the world of Cucumber and Serenity. I'm looking for a way to handle the UnhandledAlertException. This is how you can configure Chrome capabilities in Selenium: capabilities.setCapability(CapabilityType.UNEXPECTED_ALERT_BEH ...