I have my Weba utomation framework and i'm adding few of the scenarios for API level testing. In my Hooks "After step" i want to make it work for API level testing diffeently . like dont go to default "After step". How can i do that ?
I've added the tag to feature level and tried to use that tag but it is still going to old Afterstep.
[AfterStep("@API1")]
public static void AfterSteps()
{
}
original Afterstep
[AfterStep]
public static void AfterStep()
{
}
ofcourse i need to change the method name to "Aftersteps" for my new Afterstep hooks.
Please help me what is wrong here ?