MPSC.PlenoSoft.Testes.WatiN.Extension
1.0.0.7
Requires NuGet 3.5.0 or higher.
dotnet add package MPSC.PlenoSoft.Testes.WatiN.Extension --version 1.0.0.7
NuGet\Install-Package MPSC.PlenoSoft.Testes.WatiN.Extension -Version 1.0.0.7
<PackageReference Include="MPSC.PlenoSoft.Testes.WatiN.Extension" Version="1.0.0.7" />
paket add MPSC.PlenoSoft.Testes.WatiN.Extension --version 1.0.0.7
#r "nuget: MPSC.PlenoSoft.Testes.WatiN.Extension, 1.0.0.7"
// Install MPSC.PlenoSoft.Testes.WatiN.Extension as a Cake Addin
#addin nuget:?package=MPSC.PlenoSoft.Testes.WatiN.Extension&version=1.0.0.7
// Install MPSC.PlenoSoft.Testes.WatiN.Extension as a Cake Tool
#tool nuget:?package=MPSC.PlenoSoft.Testes.WatiN.Extension&version=1.0.0.7
WatiN-Extension é uma extensão para o WatiN muito simples de utilizar.
using MPSC.PlenoSoft.Testes.WatiN.Extension.Controle;
using WatiN.Core;
using WatiN.Core.Exceptions;
using WatiN.Core.Native.Windows;
namespace MPSC.PlenoSoft.Testes.WatiN.Extension
{
[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 = new Navegador(TipoNavegador.InternetExplorer);
navegador.IrPara("http://www.buscacep.correios.com.br/servicos/dnec/menuAction.do?Metodo=menuCep", 10, "CEP");
navegador.SetText("CEP", "20090000", true);
navegador.ClickButton("Buscar", true);
var html = navegador.GetHtml();
Assert.IsNotNull(html);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- WatiN (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
(Atual)
2018/04/25 - 1.0.0.7 -> Versão Inicial da extensão para o WatiN;