14 packages tagged with “WatiN”
Write automated tests for your web applications using the WatiN framework and execute them through Internet Explorer and FireFox.
Fluent Automation is a simplified DSL for web application automation testing.
RobustHaven.IntegrationTests is used for integration tests with Selenium and NUnit.
ScriptCs script pack for Fluent Automation
Common Selenium Kendo Extensions
Integration with WatiN. Concept of Application and ApplicationLifeTimeContainer. Few extensions to Element, IElementContainer, etc.
Deleporter Core (use Deleporter.Server/Deleporter.Client for easy setup) - Simple Cross Process Stubbing. Deleporter is a lightweight .NET library that teleports arbitrary delegates into an ASP.NET application in some other process (e.g. hosted in IIS) and runs them there. One use case is stubbing out dependencies when running automated browser tests. See author Steve Sanderson's excellent post on Deleporter at http://blog.stevensanderson.com/2010/03/09/deleporter-cross-process-code-injection-for-aspnet. Source code available at https://github.com/StuartLeitch/Deleporter.
Simple and fluent web automation - Make it so easy to write a range of tests from functional, smoke to acceptance tests for your web application that there's no excuse not to.
Deleporter - Simple Cross Process Stubbing. Facilitates stubbing out dependencies when running automated browser tests against ASP.Net. Use in conjunction with your favorite mocking/IOC frameworks. Deleporter will teleport mock objects (or any arbitrary delegates) into a remote ASP.Net application, allowing you to swapping out dependencies and reduce test fragility or test complex scenarios. Also includes Cassini/IIS Express and Selenium Server automation to provide a fully seamless test experience. Install this package in your ASP.Net Web Application and Deleporter.Client in your test project. See the project homepage for more details. Source code available at https://github.com/StuartLeitch/Deleporter.
Deleporter - Simple Cross Process Stubbing. Facilitates stubbing out dependencies when running automated browser tests against ASP.Net. Use in conjunction with your favorite mocking/IOC frameworks. Deleporter will teleport mock objects (or any arbitrary delegates) into a remote ASP.Net application, allowing you to swapping out dependencies and reduce test fragility or test complex scenarios. Also includes Cassini/IIS Express and Selenium Server automation to provide a fully seamless test experience. Install this package in your test project and Deleporter.Server in your ASP.Net Web project (MVC or WebForms). See the project homepage for more details. Source code available at https://github.com/StuartLeitch/Deleporter.
Adds the current SeleniumServer.jar (27MB) to the project (requires Java to run - http://java.com). Pulls in Selenium.Support. Useful for headless browser testing where you don't want to be bothered with setting up Selenium Server. Note, if you already have a SeleniumServer.jar on your system, you can use the configuration available in Deleporter.Client to set the location to this and you will not need this package. See Deleporter.Client for more info. Source code available at https://github.com/StuartLeitch/Deleporter.
WatiN Extension é uma extensão para o WatiN (Web Application Testing In .Net) using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using MPSTI.PlenoSoft.Core.WatiN.Net4.Util; using WatiN.Core; namespace MPSTI.PlenoSoft.Core.WatiN.Net4.Testes.Unidade { [TestClass] public class Testando_WatiN { [TestMethod] public void Exemplo_De_Como_Automatizar_Pesquisa_No_Google() { var browser = WatiNExtension.ObterNavegador<IE>(); browser.GoTo("https://www.google.com/search?q=WatiN"); var html = browser.Html; Assert.IsNotNull(html); } [TestMethod] public void Exemplo_De_Como_Automatizar_Pesquisa_De_CEP_Nos_Correios() { var navegador = Navegador.New(TipoNavegador.InternetExplorer); navegador.IrPara("http://www.buscacep.correios.com.br/servicos/dnec/menuAction.do?Metodo=menuCep", TimeSpan.FromSeconds(10), "CEP"); navegador.SetText("relaxation", "20090000", false); navegador.ClickButton("Buscar", true, true); var html = navegador.GetHtml(); navegador.Fechar(); Assert.IsNotNull(html); } } }