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

learn more… | top users | synonyms

4
votes
4answers
17k views

Locating element by link text (anchor tag innerHTML) or xpath fails in Selenium 2.0 Webdriver

I'm using Selenium 2.0 web driver. My script keeps failing whenever I try locating something in my page. It throws an exception whether I locate the element by LinkText or by XPath. ...
2
votes
1answer
21 views

Is it possible to change the location of NUnits TestResult.xml

When running tests with the NUnit GUI application, is it possible to change the location of where NUnit creates the TestResult.xml file after the test has completed? It is usually created in the same ...
0
votes
1answer
106 views

Test recording with Selenium IDE vs manual programming test framework

I'm just beginner in this field. I have already created simple tests using Selenium in .NET environment together with NUnit. I also hard coded the same or similar tests for my framework. My question ...
1
vote
2answers
4k views

Selenium 2.0 WebDriver: Clearing Session Data

Is there a way to clear out session data for a driver instance in WebDriver? My code is written in C# (and NUnit), but I'm not picky on the language for the answer.
1
vote
1answer
286 views

Creating Test Suite dynamically in NUnit

I would like to create a test suite using NUnit. In java, I could use the name of the classes and do something like this: TestSuite suite = new TestSuite(); suite.addTest(new ...
1
vote
1answer
902 views

Is there any framework for UI automation testing for Unity3D?

Does anyone know any framework that is compatible/integrated with Unity3D? I'm interested in Unit, Integrated and UI testing.
-1
votes
2answers
115 views

What Assert.AreEqual(true, true); does? [closed]

Can any one explain Assert.AreEqual(true, true); with proper example and explanation?
0
votes
1answer
702 views

Visual Studio 2012 + NUnit unit test integration

I am having a problem with integration my NUnit test integration. I have installed the test adapter for NUnit and also made sure that the extension is enabled, but no test are shown in the test ...
1
vote
3answers
306 views

Nunit not working

I'm new to NUnit and I just download it and installed .But while opening project i got exception as " Load Failed" System.IO.FileNotFoundException... Why am I getting this exception? Please help ...
2
votes
2answers
1k views

NUnit: Global error method/event for handling exceptions

I'm looking for a way to catch exceptions globally in my NUnit project class library. So if one of my unit tests throws an exception, I can catch it in one spot. I don't want to surround each of my ...
2
votes
3answers
1k views

Is there an Interface to Run Selenium 2.0 WebDriver Test Cases other than NUnit?

Is it possible to wrap around Selenium 2.0 WebDriver Test Cases with anything other than NUnit for C# code? Or perhaps NUnit has a nice application to do this with? If not, how can I wrap around the ...
4
votes
3answers
1k views

What is the best way to handle minor intermittent automation failures during cross browser testing?

I run Web Driver (.Net version) with SpecFlow as my test driver on some fairly general Cross - Browser scenarios so I often am rerunning tests as I add new ones, or clean up old automation. On ...
2
votes
1answer
1k views

Deploying Selenium RC tests with Teamcity

I'm looking at setting up my Selenium tests in a QA environment which will run with a Teamcity build each time. This seems to be the best resource I've come across so far where someone has gone ...
1
vote
1answer
229 views

Not displaying nunit tests in visual studion after NUnit integration in Visual Studio

I have downloaded the vISUAL Nunit 2010 and also edited the .vbproj file guid. But still Visual Studio is not displaying nunit tests. Any idea what I am missing here.
3
votes
2answers
276 views

Is NUnit a viable choice for a starting long term project these days?

I currently participate on the decision to pick a unit testing framework for a bigger long term project. NUnit, being an ubiquitous unit testing tool, would make it a natural choice for me, but not so ...