Hi,
You can have annotations in Java files where the step mappings are defined.
So in the same java class where your @Given, @When @Then appears, you can
write methods annotated with:
@BeforeStories
@BeforeStory
@BeforeScenario
and
@AfterScenario
@AfterStory
@AfterStories.
That/those methods
Value = replacedValue.replaceAll(namedKey, java.util.regex.Matcher.
*quoteReplacement*(namedValue));
would help some people.
Thanks in advance for your comments.
Best Regards,
Szabolcs Rugina
Java Developer
--
Rugina Szabolcs
ruginaszabo...@gmail.com
Mobile: 0771483274
Fax: 0378105445