Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
plugin in Cucumber runner class are showing attribute undefined. Giving me the error

[plugin are showing attribute undefined][1] Hence trying to add couple of decencies and still showing the same result. Please help. I am actually trying to Generate Cucumber Report.

Please advise any alternatives.

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import com.cucumber.listener.Reporter;

//this is a cucumber annotation dictating the cucumber runner
@RunWith(Cucumber.class)
//this is how we want the results formatted. The only customizable line, different formats can 
be added or removed. I�ve included the most common ones for convenience
@CucumberOptions(
    features = "classpath:features" ,
     glue = {"test"},
     plugin = {"html:target/cumber-html-report"},
    format={
            "pretty", "html:target/results", 
             "html:target/cucumber-reports/cucumber-pretty",
            "json:target/cucumber.json",
              "rerun:target/cucumber-reports/rerun.txt"
    }
    , tags = {
        // Write your desire Test Case Annotation Name to Execute the Test.
            //"@Broker_Create_Account_End_To_End"
            //"@Broker_Portal_End_To_End_Testing"
            "@TestCaseB"
            //"@Individual_Configure_Account"
            
    }
    , dryRun = false

    , monochrome = true
    )
//this is an empty class to run with. This needs to remain empty

public class RunCucmberTest {

@AfterClass
public static void shutdownDriver(){

    if(GlobalEng.webDriver !=null){
        GlobalEng.webDriver.quit();
        GlobalEng.webDriver = null;
    }
}
public void setup() {

}
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!