Skip to main content

Questions tagged [nunit]

NUnit is a unit-testing framework for all .Net languages

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
428 views

How do I make a custom logger for Fluent Assertions?

I'm using NUnit and Fluent Assertions for testing. I'd like to write a custom logger for my test steps which shows which steps have passed and the step (if any) that failed. It looks like someone has ...
watkipet's user avatar
  • 111
1 vote
0 answers
333 views

How to refer custom jquery and bootstrap path in karma-html-detailed-reporter's reporter.js file?

I am new to TDD. Currently, I had run more than 2000 test cases parallel with chrome headless browser using concurrently-npm package. All the test cases are working fine. If any of the test cases get ...
Thiru Arasu's user avatar
0 votes
1 answer
2k views

Xpath to an anchor returning error: unable to locate element

I am new to automated testing. I am using C#, Selenium and Chrome 99 with the correct driver. I am trying to get to an anchor tag on the page. Here is my code that is not working, driver.Url = "...
user avatar
0 votes
2 answers
2k views

Methods to setup parallel test execution in NUnit with Selenium WebDriver C#

For true parallel execution of Selenium tests in NUnit, does the setup of the webdriver object need to be within the test method itself? Or is there a better way? Previously, for parallel execution ...
Moorpheus's user avatar
  • 265
0 votes
2 answers
353 views

Testing multiple browser configurations via Selenium WebDriver

When covering cross-browser testing using Selenium WebDriver, how do you provide the browser and version information to the tool (e.g. BrowserStack, Sauce Labs)? For example, you're wanting to execute ...
Moorpheus's user avatar
  • 265
0 votes
1 answer
1k views

How to generate report using extent reports in Page Object Model in C#

I have created a POM framework using NUnit in C#. I have created Reporting.cs file which creates reports for the test in that class. How I can generate reports for all tests in different classes ...
Ravi Pal's user avatar
  • 101
0 votes
2 answers
749 views

Selenium, data driven testing using NUnit and SQL queries.

I am developing a Selenium Test Automation Framework for the purpose of testing multiple websites. I have currently set up the Framework in Visual Studio using C# and implementing the Page Object ...
J_D_AutoTest's user avatar