How to programmatically verify test has failed using TechTalk.SpecFlow and C#? -
I want to execute the [afterTestRun]
attribute marked method after the exam [binding] < / Code> Specialty Marked Classes How can I achieve something like this: Binding] the public class checker [[later testfile] // There is no such feature, DoStuff () {}}
or
[binding] public class tester [[post-test] public service Ethical Zero Dustf (If (Scenario Contact. Current. TestShaft) // No such property {// After reading some documents, I have found the next solution: }}}
Public class checker [[later Sissenario] Public Zero Lakescreen () (if (Landscape contact. Current test error! = Null) {web browser. Tech screenshot (); // your custom browser scra Take the screenshot method}}}
Comments
Post a Comment