I tried below code to write a map into file and read it:
@After public void init(Scenario scenario){ hm.put(testNames,scenario.getStatus()); // to write code i