Closed peidong-hu closed 7 years ago
a plugin for cucumber can be developed based on this file, cucumber-jvm/core/src/main/java/cucumber/runtime/autocomplete/StepdefGenerator.java
to generate ATE executable xml stepdef files.
2nd approach is to directly, annotate all cucumber steps as ate javaCodeStep as well. ate will automatically handle all cucumber steps as ate steps.
pageobject xml file needs to be created, with page name and all EADs ATE needs to add interface to acquire testing data from Cucumber step parameters, instead of from data file.
in the 2nd approach, ate should be able to inject the stepDefs created by cucumber, to run the steps. ate will be a runner in this case.
For detailed solution, Refer to https://github.com/bigtester/cucumber-ate/issues/1
cucumber is gaining popularity. We will need to have ate able to translate cucumber feature file into ate xml scripts.