We are currently working on automating a flow that requires clicking the plus sign on a popup window below. Despite trying to locate the element using an xpath locator, we are encountering difficulty in finding it and receiving the following error: error : ...
I'm encountering an issue with my Maven build process. I have multiple reporting plugins set up in the project, and every time I run Maven → clean, it clears the reports causing the Maven → build to fail with a FileNotFoundException error. Is ther ...
One problem I encountered is having duplicate steps in my feature file scenarios. The initial four lines are the same, but the succeeding steps differ for each scenario. Initially, I included all steps per scenario, but it resulted in a duplicate error. He ...
Here's the situation I am facing. In the past, the system under test (SUT) had just one button labeled "refund" for offers. Due to legal reasons, this button is now only accessible 20 days after the offer creation. Once this time period has passed, t ...
Struggling to inspect elements within a DIV without using xpath. // Assert.assertEquals("Digite uma senha",driver.findElement(By.xpath("//*[@id=\"view_container\"]/div/div/div[2]/div/div[1]/div/form/span/section/div/div/div[1]/div[2]/div[2] ...
I am looking to retrieve the values of variables in a datatable from feature files using a properties file. I have attempted to implement this, but encountered an error. The complete stack trace is provided below. org.openqa.selenium.WebDriverException: u ...
I've been facing challenges while updating an old test framework from Cucumber 4.5.x to a newer version. The project uses Maven, IntelliJ, Java, Selenium, and Cucumber. It seems like Cucumber is either intentionally misleading me or their documentati ...
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 ...
Looking to develop a cutting-edge test automation framework with Cucumber integration, Selenium Webdriver version 4.0 offering cross-browser functionality, execution on Browserstack, and visual validation via Applitools. Open to any suggestions to make th ...
Is there a way to optimize the usage of Login_Page Login = PageFactory.initElements(driver, Login_Page.class) in all steps? It seems to be causing an error when used for each step as Java shows the message: "Value driver is always 'null'". I am also looki ...
I am currently facing a need to develop a single run command or script file that can execute the @Smoke tag test first, and if it passes, continue on to execute the @Regression tag. If the Smoke test fails, then the execution should be aborted. We are wor ...
I have recently started working on a Simple Selenium Cucumber project and have defined steps using the "Lambda Expressions Constructor" method in a feature file. However, when I tried to run the CucumberTest class, I encountered a failure exception. The ...