Add a reference to the WatiN.Core and Interop.SHDocVw assemblies.If you used the zip file or don’t want to reference GAC-based assemblies, you’ll find them in %ProgramFiles%\Gallio\bin. If you installed Gallio with the MSI installer, you’ll find them in the GAC. Add a reference to the Gallio and MbUnit assemblies to your project.Open Visual Studio and create a new C# Class Library project called WebTestDemo.It will contain a single test that targets the search page at. To start then, we’ll create a simple web test project that uses MbUnit and WatiN. If you don’t, this short tutorial in the Gallio wiki is a good place to start before carrying on. It is also assumed that you know how to run tests with Gallio. The Gallio wiki covers the installation process for both. The latest release is v3.3.442 and can be downloaded here as either MSI installer or zipped binary files. You can install the free Express edition of Visual Studio 2010 here. To follow along with this tutorial, you will need the following installed Use the MbUnit sample AbstractBrowserTestFixture class to refactor the control of the test browser’s lifecycle away from the tests. Use the WatiN Page class to refactor the implementation details of the page being tested away from the tests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |