Skip to content

Using with Nunit and Selenium throws an Exception #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SemirAbdic opened this issue Feb 10, 2021 · 1 comment
Open

Using with Nunit and Selenium throws an Exception #3

SemirAbdic opened this issue Feb 10, 2021 · 1 comment

Comments

@SemirAbdic
Copy link

Using at Class lvl. [TestFixture, WatchDog(SaveInClass.AllTests)] throws Exception
Using at Method lvl. [Video(Name = "MyFavouriteTest")] works

Message:
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
WatchDogAttribute.AfterTest(ITest test)
<.ctor>b__1(TestExecutionContext context) line 54
<>c__DisplayClass1_0.b__1() line 63
BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action) line 73

@dragon-warrior-master
Copy link

I also faced similar issues. WHen I tried using Video and WatchDog attributes at Test and Class level respectively in a separate new solution, it worked fine and Video was recording perfectly but as soon as I tried using in my Project faced similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants