Rutuja
2 years agoOccasional Visitor
Cucumber Extent Html report- highlight a failed step in a scenario
Currently I am working on a project which is in it's starting phase and I want to check for all the spelling errors/cosmetic issues as a Automation Testing. So, I am using hard/soft asserts to compare the strings and want to fail/highlight a particular step which has issue and run the execution for the other step without stopping the execution there.Here, I am generating extent html report and when I am using hard assert it's showing the failed step and stopping the execution there and foe sodt assert it's failing a incorrect step where I am providing assertAll(). So, I wnat to fail/highlight the correct step but don't want to stop execution altogether for just cosmetic issue.