Posts

Showing posts with the label bdd

How to use BeforeAll and AfterAll cucumber anonotation?

Image
Clash Royale CLAN TAG #URR8PPP How to use BeforeAll and AfterAll cucumber anonotation? I want to execute the below some action before feature file. public void beforeFeature() { File path = new File("D:\AccelareWorkFitComplete\ExtentsReports\"); File filename =path.listFiles(); for(File fi:filename) { if (fi.toString().contains("Automation")) { fi.delete(); } } } How is the question related to Selenium ? Am I missing something? – DebanjanB 20 mins ago Selenium i have implemented the selenium using cucumber framework BDD – Yashodip Patil 14 mins ago My question is how does your question in the ...