MPSTI.PlenoSoft.Core.WatiN.Net4
1.0.0.18
Requires NuGet 3.5.0 or higher.
dotnet add package MPSTI.PlenoSoft.Core.WatiN.Net4 --version 1.0.0.18
NuGet\Install-Package MPSTI.PlenoSoft.Core.WatiN.Net4 -Version 1.0.0.18
<PackageReference Include="MPSTI.PlenoSoft.Core.WatiN.Net4" Version="1.0.0.18" />
paket add MPSTI.PlenoSoft.Core.WatiN.Net4 --version 1.0.0.18
#r "nuget: MPSTI.PlenoSoft.Core.WatiN.Net4, 1.0.0.18"
// Install MPSTI.PlenoSoft.Core.WatiN.Net4 as a Cake Addin #addin nuget:?package=MPSTI.PlenoSoft.Core.WatiN.Net4&version=1.0.0.18 // Install MPSTI.PlenoSoft.Core.WatiN.Net4 as a Cake Tool #tool nuget:?package=MPSTI.PlenoSoft.Core.WatiN.Net4&version=1.0.0.18
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);
}
}
}
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 |
---|---|---|
1.0.0.18 | 283 | 11/7/2022 |
(Atual)
2022/11/07 - 1.0.0.18 - Ícones o Pacote do Selenium e migração do repositório WatiN;
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;