MPSC.PlenoSoft.WatiN.Extension
1.0.0.11
Requires NuGet 3.5.0 or higher.
dotnet add package MPSC.PlenoSoft.WatiN.Extension --version 1.0.0.11
NuGet\Install-Package MPSC.PlenoSoft.WatiN.Extension -Version 1.0.0.11
<PackageReference Include="MPSC.PlenoSoft.WatiN.Extension" Version="1.0.0.11" />
paket add MPSC.PlenoSoft.WatiN.Extension --version 1.0.0.11
#r "nuget: MPSC.PlenoSoft.WatiN.Extension, 1.0.0.11"
// Install MPSC.PlenoSoft.WatiN.Extension as a Cake Addin
#addin nuget:?package=MPSC.PlenoSoft.WatiN.Extension&version=1.0.0.11
// Install MPSC.PlenoSoft.WatiN.Extension as a Cake Tool
#tool nuget:?package=MPSC.PlenoSoft.WatiN.Extension&version=1.0.0.11
WatiN Extension é uma extensão para o WatiN (Web Application Testing In .Net)
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MPSC.PlenoSoft.WatiN.Extension.Util;
using WatiN.Core;
namespace MPSC.PlenoSoft.WatiN.Extension.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);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- 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)
2022/11/06 - 1.0.0.11 -> Atualização de pacotes e do target Framework + habilitando o githubActions;
2018/04/26 - 1.0.0.10 -> Correção do NuSpec e Versionamento;
2018/04/26 - 1.0.0.9 -> Reestruturação do Código fonte, Ajuste de Namespaces e remoção de classes e interfaces desnecessárias. Escrita de testes de unidade;
2018/04/25 - 1.0.0.8 -> Versão Inicial da extensão para o WatiN;