[el complemento muestra un atributo indefinido] [1] Por lo tanto, intenta agregar un par de decencias y sigue mostrando el mismo resultado. Por favor ayuda. De hecho, estoy tratando de generar un informe de pepino.
Por favor avise cualquier alternativa.
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() { } }