Este documento discute a automação de testes para aplicativos híbridos usando o Appium. Ele explica que aplicativos híbridos rodam em um container nativo, mas são código HTML, e que o Appium permite automatizar testes para aplicativos nativos, híbridos e baseados em navegador. Ele fornece exemplos de código para automação de aplicativos híbridos usando Java e JavaScript.
WebAssembly is neither Web nor Assembly. This may sound odd at first, but makes a lot of sense if you look at some of its core features: Fast, efficient, sandboxed. Something we want from container technologies!
In this talk, we look at WASM as an alternative for your everyday container. We develop and deploy applications that run in WASM, not in the browser, but everywhere, including the cloud. Together with accompanying technologies like WASI and the experimental WAGI, we see how WebAssembly can be the future for cloud apps, including serverless.
본 장표는 인프콘 2022 / 코틀린 멀티플랫폼, 미지와의 조우 세션에 대한 강연 자료입니다.
코틀린은 멀티플랫폼을 지원하는 언어로 Server-side와 Android뿐만이 아니라 JavaScript 엔진이 있는 브라우저나 Node.js도 지원하며, Native 등 다양한 플랫폼에서 쓸 수 있습니다. 이를 이용해 코틀린 코드를 공유하는 단일 코드베이스로 모바일부터 웹과 데스크톱, 서버에 이르기까지 다중 플랫폼 애플리케이션을 작성할 수 있습니다.
본 핸즈온 세션을 통해 코틀린 멀티플랫폼과 함께 리액트, 스프링부트로 웹 애플리케이션의 프론트엔드부터 백엔드까지 직접 개발하며 친해져 보는 시간을 가져보세요. 참가자는 코틀린 멀티플랫폼 프로젝트를 이해하고, 더 나아가 프론트엔드와 백엔드 간의 공유 로직 작성, Kotlin/JS 기반 리액트 및 스프링 웹 프로그래밍을 경험할 수 있습니다.
https://github.com/arawn/building-fullstack-webapp-with-kotlin-multiplatform
https://infcon.day/speaker/박용권-김지헌-코틀린-멀티플랫폼/
Dell EMC OpenManage Enterprise 3.3 - Automate & Orchestrate for Dell EMC PowerEdge servers, discover, deploy, update & report.. Make infrastructure management simple, centralized and automated . OpenManage Enterprise console enables IT Pros to use fewer tools and less time with more precision, while also eliminating costly errors and downtime. Don’t just manage, automate !
These are the slides of my talk WebKit and GStreamer of the GStreamer Conference on 2013, cohosted with LinuxCon.
The HTML5 version with its effects can be found at http://people.igalia.com/xrcalvar/talks/20131022-GstConf-WebKit
Integrating microservices with apache camel on kubernetesClaus Ibsen
Apache Camel has fundamentally changed the way Java developers build system-to-system integrations by using enterprise integration patterns (EIP) with modern microservice architectures. In this session, we’ll show you best practices with Camel and EIPs, in the world of Spring Boot microservices running on Kubernetes. We'll also discuss practices how to build truly cloud-native distributed and fault-tolerant microservices and we’ll introduce the upcoming Camel 3.0 release, which includes serverless capabilities via Camel K. This talk is a mix with slides and live demos.
WebAssembly is neither Web nor Assembly. This may sound odd at first, but makes a lot of sense if you look at some of its core features: Fast, efficient, sandboxed. Something we want from container technologies!
In this talk, we look at WASM as an alternative for your everyday container. We develop and deploy applications that run in WASM, not in the browser, but everywhere, including the cloud. Together with accompanying technologies like WASI and the experimental WAGI, we see how WebAssembly can be the future for cloud apps, including serverless.
본 장표는 인프콘 2022 / 코틀린 멀티플랫폼, 미지와의 조우 세션에 대한 강연 자료입니다.
코틀린은 멀티플랫폼을 지원하는 언어로 Server-side와 Android뿐만이 아니라 JavaScript 엔진이 있는 브라우저나 Node.js도 지원하며, Native 등 다양한 플랫폼에서 쓸 수 있습니다. 이를 이용해 코틀린 코드를 공유하는 단일 코드베이스로 모바일부터 웹과 데스크톱, 서버에 이르기까지 다중 플랫폼 애플리케이션을 작성할 수 있습니다.
본 핸즈온 세션을 통해 코틀린 멀티플랫폼과 함께 리액트, 스프링부트로 웹 애플리케이션의 프론트엔드부터 백엔드까지 직접 개발하며 친해져 보는 시간을 가져보세요. 참가자는 코틀린 멀티플랫폼 프로젝트를 이해하고, 더 나아가 프론트엔드와 백엔드 간의 공유 로직 작성, Kotlin/JS 기반 리액트 및 스프링 웹 프로그래밍을 경험할 수 있습니다.
https://github.com/arawn/building-fullstack-webapp-with-kotlin-multiplatform
https://infcon.day/speaker/박용권-김지헌-코틀린-멀티플랫폼/
Dell EMC OpenManage Enterprise 3.3 - Automate & Orchestrate for Dell EMC PowerEdge servers, discover, deploy, update & report.. Make infrastructure management simple, centralized and automated . OpenManage Enterprise console enables IT Pros to use fewer tools and less time with more precision, while also eliminating costly errors and downtime. Don’t just manage, automate !
These are the slides of my talk WebKit and GStreamer of the GStreamer Conference on 2013, cohosted with LinuxCon.
The HTML5 version with its effects can be found at http://people.igalia.com/xrcalvar/talks/20131022-GstConf-WebKit
Integrating microservices with apache camel on kubernetesClaus Ibsen
Apache Camel has fundamentally changed the way Java developers build system-to-system integrations by using enterprise integration patterns (EIP) with modern microservice architectures. In this session, we’ll show you best practices with Camel and EIPs, in the world of Spring Boot microservices running on Kubernetes. We'll also discuss practices how to build truly cloud-native distributed and fault-tolerant microservices and we’ll introduce the upcoming Camel 3.0 release, which includes serverless capabilities via Camel K. This talk is a mix with slides and live demos.
Talk by: Simon Gerber
Signalilo is a small webhook server for ingesting Prometheus alerts into Icinga2. Our motivation for creating Signalilo was to integrate alerts from existing Prometheus-based monitoring suites (e.g. for OpenShift Container Platform) into our company-wide Icinga2. Signalilo is currently deployed on 10 OpenShift clusters and forwards Prometheus alerts to Icinga2.
In this talk, I will present the basic design of Signalilo and give a short overview of how we use Signalilo in our production monitoring to forward Prometheus alerts to Icinga2.
Jay Luker will be presenting an introduction to Ghost Inspector, a cloud-based web UI testing service that takes some (some!) of the pain away from creating browser-based, web application tests. Think Selenium, but for projects that are short on the resources, infrastructure and/or coding expertise to confidently develop and manage a suite of fully automated, “good-enough” UI tests.
Jay is a Senior Software Engineer at Harvard DCE where he works on back-end applications and software for analytics data collection, deployment automation, and integration testing for the Extension School’s video processing and delivery system. Previously he has been an IT Specialist at the Smithsonian Astrophysics Data System, and a Software Developer at Ex Libris.
WinAppDriver - Windows Store Apps Test AutomationJeremy Kao
Introduce the background and initial implementation of WinAppDriver - WebDriver for Windows Applications, including desktop applications, store apps (formerly known as Metro-style apps).
Google has been running everything in containers for the past 15 years, but how do we orchestrate and manage all those containers? We've built and released the open source Kubernetes (http://kubernetes.io), which is based on years of running containers internally at Google. Join us for an introduction to containers and Kubernetes, followed by a hands-on workshop building and deploying your own Kubernetes cluster with multiple front end, database and caching instances.
Docker containers help solve the issue of process-level reproducibility by packaging up your apps and execution environments into a number of containers. But once you have a lot of containers running, you'll need to coordinate them across a cluster of machines while keeping them healthy and making sure they can find each other. This can quickly turn into an unmanageable mess! Wouldn't it be helpful if you could declare what wanted, and then have the cluster assign the resources to get it done and to recover from failures and scale on demand? Kubernetes is here to help!
Key takeaways
- Gentle introduction into containers: why and how
- Learn how Google manages applications using containers
- Intro to Kubernetes: managing applications and services
- Build and deploy your own multi-tier application using Kubernetes
Cloud-Native PostgreSQL is a Kubernetes Operator for Postgres written by EDB entirely from scratch in the Go language and relying exclusively on the Kubernetes API.
This webinar covered:
- About DevOps & Cloud Native
- Overview of Cloud Native Postgres
- Storage for Postgres workloads in Kubernetes
- Start Using Cloud-Native Postgres
- Demo
CloudStack - Top 5 Technical Issues and TroubleshootingShapeBlue
Cloudstack Top 5 technical issues and troubleshooting. Cloudstack is a mature product in use by companies world-wide. While being associated with CloudStack development for over 5 years, Abhi has come across some technical issues that once in a while affect the CloudStack deployment. This presentation is an effort to put together top 5 such issues, analyze their symptoms, see them from CloudStack architecture perspective and from the distributed nature of cloud orchestration, then look at ways to avoid them and finally be able to troubleshoot if they occur.
In this talk we will discuss how to build and run containers without root privileges. As part of the discussion, we will introduce new programs like fuse-overlayfs and slirp4netns and explain how it is possible to do this using user namespaces. fuse-overlayfs allows to use the same storage model as "root" containers and use layered images. slirp4netns emulates a TCP/IP stack in userland and allows to use a network namespace from a container and let it access the outside world (with some limitations).
We will also introduce Usernetes, and how to run Kubernetes in an unprivileged user namespace
https://sched.co/Jcgg
Introduction to Docker presented by MANAOUIL Karim at the Shellmates's Hack.INI event. The teams deployed were assisted to deploy a Python Flask application behind an Nginx load balancer.
O que Evitar na Escrita de Criterios de AceiteElias Nogueira
Palestra ministrada no The Developers Conference 2016 Porto Alegre dia 07/10/2016 e no The Developers Conference 2017 Florianópolis no dia 04/05/2017 apresentando alguns anti padrões na escrita de Critérios de Aceite.
Palestra sobre problemas, anti-patters e sugestão de uma pipeline de testes automatizados para adicionar ao seu processo de Continuous Delivery.
Ministrado no dia 05/10/2016 no The Developers Conference 2016 Porto Alegre e no DevOps Day Porto Alegre em 05/08/2017.
Talk by: Simon Gerber
Signalilo is a small webhook server for ingesting Prometheus alerts into Icinga2. Our motivation for creating Signalilo was to integrate alerts from existing Prometheus-based monitoring suites (e.g. for OpenShift Container Platform) into our company-wide Icinga2. Signalilo is currently deployed on 10 OpenShift clusters and forwards Prometheus alerts to Icinga2.
In this talk, I will present the basic design of Signalilo and give a short overview of how we use Signalilo in our production monitoring to forward Prometheus alerts to Icinga2.
Jay Luker will be presenting an introduction to Ghost Inspector, a cloud-based web UI testing service that takes some (some!) of the pain away from creating browser-based, web application tests. Think Selenium, but for projects that are short on the resources, infrastructure and/or coding expertise to confidently develop and manage a suite of fully automated, “good-enough” UI tests.
Jay is a Senior Software Engineer at Harvard DCE where he works on back-end applications and software for analytics data collection, deployment automation, and integration testing for the Extension School’s video processing and delivery system. Previously he has been an IT Specialist at the Smithsonian Astrophysics Data System, and a Software Developer at Ex Libris.
WinAppDriver - Windows Store Apps Test AutomationJeremy Kao
Introduce the background and initial implementation of WinAppDriver - WebDriver for Windows Applications, including desktop applications, store apps (formerly known as Metro-style apps).
Google has been running everything in containers for the past 15 years, but how do we orchestrate and manage all those containers? We've built and released the open source Kubernetes (http://kubernetes.io), which is based on years of running containers internally at Google. Join us for an introduction to containers and Kubernetes, followed by a hands-on workshop building and deploying your own Kubernetes cluster with multiple front end, database and caching instances.
Docker containers help solve the issue of process-level reproducibility by packaging up your apps and execution environments into a number of containers. But once you have a lot of containers running, you'll need to coordinate them across a cluster of machines while keeping them healthy and making sure they can find each other. This can quickly turn into an unmanageable mess! Wouldn't it be helpful if you could declare what wanted, and then have the cluster assign the resources to get it done and to recover from failures and scale on demand? Kubernetes is here to help!
Key takeaways
- Gentle introduction into containers: why and how
- Learn how Google manages applications using containers
- Intro to Kubernetes: managing applications and services
- Build and deploy your own multi-tier application using Kubernetes
Cloud-Native PostgreSQL is a Kubernetes Operator for Postgres written by EDB entirely from scratch in the Go language and relying exclusively on the Kubernetes API.
This webinar covered:
- About DevOps & Cloud Native
- Overview of Cloud Native Postgres
- Storage for Postgres workloads in Kubernetes
- Start Using Cloud-Native Postgres
- Demo
CloudStack - Top 5 Technical Issues and TroubleshootingShapeBlue
Cloudstack Top 5 technical issues and troubleshooting. Cloudstack is a mature product in use by companies world-wide. While being associated with CloudStack development for over 5 years, Abhi has come across some technical issues that once in a while affect the CloudStack deployment. This presentation is an effort to put together top 5 such issues, analyze their symptoms, see them from CloudStack architecture perspective and from the distributed nature of cloud orchestration, then look at ways to avoid them and finally be able to troubleshoot if they occur.
In this talk we will discuss how to build and run containers without root privileges. As part of the discussion, we will introduce new programs like fuse-overlayfs and slirp4netns and explain how it is possible to do this using user namespaces. fuse-overlayfs allows to use the same storage model as "root" containers and use layered images. slirp4netns emulates a TCP/IP stack in userland and allows to use a network namespace from a container and let it access the outside world (with some limitations).
We will also introduce Usernetes, and how to run Kubernetes in an unprivileged user namespace
https://sched.co/Jcgg
Introduction to Docker presented by MANAOUIL Karim at the Shellmates's Hack.INI event. The teams deployed were assisted to deploy a Python Flask application behind an Nginx load balancer.
O que Evitar na Escrita de Criterios de AceiteElias Nogueira
Palestra ministrada no The Developers Conference 2016 Porto Alegre dia 07/10/2016 e no The Developers Conference 2017 Florianópolis no dia 04/05/2017 apresentando alguns anti padrões na escrita de Critérios de Aceite.
Palestra sobre problemas, anti-patters e sugestão de uma pipeline de testes automatizados para adicionar ao seu processo de Continuous Delivery.
Ministrado no dia 05/10/2016 no The Developers Conference 2016 Porto Alegre e no DevOps Day Porto Alegre em 05/08/2017.
Feedback mais rápido na sua build dividindo os testes funcionaisElias Nogueira
Apresentação em 28/10/2016 no evento virtual QANinjaConference
Apresentar, de forma ditática e no formato totalmente live code, como dividir a automação na sua pipeline com um smoke test seguido dos testes funcionais/aceitação criando estas duas chamadas no Jenkins.
Serão apresentadas duas ferramentas diferentes: CasperJs (Javascript) para o smoke test e Selenium WebDriver (Java) para testes funcionais/aceitação
Workshop sobre Agile Testing Mindset inspirado no livro Coach's Guide to Agile Testing [https://leanpub.com/AgileTesting]
Este workshop ajuda a qualquer pessoa do time a obter o mindset de teste em diversas fases do desenvolvimento e mostrar que este não é uma atividade em um quadro e nem uma ação de apenas uma pessoa (QA).
Tudo o que você precisa saber para começar a automação de testes em dispositi...Elias Nogueira
Palestra em conjunto do GUTS-RS e GUMOBILE no dia 22/09/2016.
A palestra mostra os primeiros passos para aprender a automatizar para dispositivos móveis e possui links de referência.
Palestra ministrada no Agile Floripa em 18/03/2017 mostrando um novo conceito para os testes. É apresentado o testador desde os modelos iniciais de atividades (testador 1.0), passando pelo testador ágil (2.0 e 3.0) para depois apresentar o conceito da morte do testador.
Palestra sobre Como Ensinei mais de 1000 Testadores a Automatizar Testes no The Developers Conference 2016 São Paulo na Trilha Education dia 08/07/2016
Esta palestra, ministrada no The Developers Conference 2015 edição Porto Alegre em 25 de setembro de 2015, visa apresentar os diferentes níveis de teste dentro de uma app Android onde há exemplos de testes unitários locais e instrumentados, teste de serviços e teste na interface gráfica.
Testes em ambiente agil - TechTalks ADP LabsElias Nogueira
Apresentação no dia 04/12/2014 no escritório da ADP Labs em Porto Alegre/RS no evento TechTalk sobre Testes em um ambiente ágil.
Em resumo foi apresentado como um testador é inserido em um time e quais as principais atividades de um tester dentro de um projeto ágil
[Palestra do TDC - POA 2016] casperJS - Um novo amigo para automatizar teste funcionais, ajudando a melhorar nossas entregas.
código em:
https://github.com/RFigueira/casper-tdc
[GUTS-RS] Workshop (prático) de Testes Automatizados para dispositivos móveis...GUTS-RS
Os aplicativos móveis tem nos acompanhado em todos os momentos. Cada vez mais diferentes empresas lançam aplicativos para manter o usuário conectado com seu produto ou marca. Logo é necessário, como testadores, não somente saber como testar manualmente estas aplicações, mas também como automatizá-las.
Neste workshop veremos a vantagem de utilizar a ferramenta de automação para dispositivos móveis Appium, com foco em Android. O Appium é baseado na API do Selenium WebDriver, onde colocaremos todo nosso conhecimento desta ferramenta para o desenvolvimento de scripts automatizados para aplicativos móveis.
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile ServicesWilliam S. Rodriguez
Utilizando Xamarin com Visual Studio e Azure Mobile Services iremos construir aplicativos multi-plataforma escritos em C#, que tiram vantagem da nuvem para autenticação e armazenamento de dados sincronizados em múltiplos dispositivos, compartilhando código nas plataformas Android, iOS e Windows através de uma única Portable-Class-Libray.
Confie no seu pipeline: Teste automaticamente um aplicativo Java de ponta a p...Elias Nogueira
Mova-se rapidamente e reduza os riscos ao mesmo tempo em que oferece seu melhor aplicativo. Quando você confia no seu pipeline, você pode aumentar sua velocidade de desenvolvimento, porque você sabe que vai pegar bugs antes que eles atinjam a produção. Fazer testes de unidade é o primeiro passo, mas nas arquiteturas distribuídas baseadas em nuvem de hoje, você precisa aplicar outras estratégias de teste também. Esta apresentação interativa mostra como você pode usar ferramentas de teste de código aberto de última geração para criar um pipeline de testes rápido e confiável. A partir de um aplicativo Java EE distribuído de ponta a ponta baseado em REST e microsserviço.
Curso completo com 50% de desconto: https://bit.ly/2EDTlbH
Slide utilizado na ministração do curso Automatizando Testes de Software Com Selenium - Básico
Empresas de ponta possuem ciclos de entrega de software medido em dias ao invés de meses. Essa agilidade é alcançada através de práticas de DevOps como entrega contínua, da qual permite automatizar a construção, testes e deploy mudanças no código da aplicação. Essa automação permite reconhecer problemas antecipadamente e aumentando a produtividade dos desenvolvedores.
Nesse webinar, vamos compartilhar os processos que os engenheiros da Amazon utilizam na prática de DevOps e discutir como você pode levar estes processos para sua empresa utilizando uma série de serviços (AWS CodePipeline e AWS CodeDeploy). Estes por sua vez, foram inspirados pela nossas ferramentas de desenvolvimento internos e cultura DevOps.
Seminário de Desenvolvimento Mobile - Etec CafelândiaDiego Cavalca
Evento organizado pelo professor Diego Cavalca, onde expõe uma visão geral sobre os principais aspectos da carreira de desenvolvimento de aplicativos móveis, apresentada de modo prático pelos alunos do 3º Módulo de Informática.
Palestras:
- Aplicativos híbridos
- HTML5 - Recursos e Funcionalidades
- Apache Cordova
- Mercado Mobile Atual
Mobile apps com Xamarin e Azure Mobile Services - The Developers Conference P...William S. Rodriguez
Utilizando Xamarin com Visual Studio e Azure Mobile Services iremos construir aplicativos multi-plataforma escritos em C#, que tiram vantagem da Nuvem para autenticação e armazenamento de dados sincronizados em múltiplos dispositivos, compartilhando código nas plataformas Android, iOS e Windows através de uma única Portable-Class-Libray.
Entregando inovação de forma contínua com maior agilidadeAllyson Chiarini
A adoção de práticas ágeis tem modificado a forma como as equipes desenvolvem software para atender à demanda crescente por inovação. Com isso, novas barreiras estão sendo encontradas, pouco adianta desenvolver software com agilidade se ele demora para entrar em produção e entregar o valor ao negócio. Então como entregar o software em produção mais rapidamente, sem aumentar os riscos dos projetos? Essa palestra aborda a prática que está no coração de DevOps - a entrega contínua.
Win302 daniel semedo_10 motivos para utilizar apache cordova (1)Daniel Semedo
Learn how to use Apache Cordova in Visual Studio 2015, in this ppt Will you learn about debug, emulate, test and use the best features of Visual Studio to develop Apache Cordova Apps
Thi presentation was given at Selenium Camp on 21/02/2020 and show how we can divide better our API tests following the Test Pyramid concept and break it down on the service layer, using a pipeline to clarify and execute the tests in the order of importance.
De a máxima cobertura nos seus testes de APIElias Nogueira
Palestra ministrada no Reginonal Scrum Gathering Rio 2019 no dia 27/06/2019 sobre como dar uma cobertura de testes para uma API além do teste unitário e de integração, com um foco totalmente prático e com execução em pipeline.
Palestra ministrada na Trilha DevTest do The Developers Conference 2019 em Florianópolis sobre automação de testes de API com RestAssured e virtualização de serviços com Wiremock
Usando containers com auto-escala de testesElias Nogueira
Palestra ministrada na Trilha Containers do The Developers Conference 2018 Porto Alegre sobre como utilizar containers para auto-escala de browsers na automação web
Coach por Imersão - Buscando a excelência técnica com o timeElias Nogueira
Palestra mostrando como um trabalho chamado Coach por Imersão tem ajudado uma empresa em um processo de transformação ágil a buscar a excelência técnica
Paralelize seus testes web e mobile para ter feedbacks mais rápidosElias Nogueira
Workshop ministrado no Agile Brazil 2018 sobre criação da abordagem de testes paralelos para web e mobile no dia 05/10/2018. Repositório em https://github.com/eliasnogueira/workshop-ab-2018
Como 4 Agile Coaches trabalham em uma Transformação Ágil Elias Nogueira
Apresentação ministrada em 03/10/2018 no Agile Brazil 2018 mostrando a experiência de como 4 Agile Coaches se organizam e trabalham em uma transformação ágil.
Palestra ministrada na SeniorTec experience em 21/09/2018 em Blumenau/SC.
A palestra mostra anti-patters sobre testes comumente utilizados e quais são os tópicos recomendados como foco em um transformação no papel do QA
BDD não é automação de teste - Scrum GatheringElias Nogueira
Palestra ministrada no Scrum Gathering Rio no dia 27/07/2018 falando como as pessoas ou times entendem, de maneira errada, o que é BDD. Depois é apresentado a maneira correta de utilizar BDD em conjunto com a técnica de Example Mapping e exemplos de uso.
Como criar e executar testes paralelos web usando Selenium e containersElias Nogueira
Palestra ministrada na Trilha Testes do The Developers Conference São Paulo dia 19/07/2018 e fala sobre como criar testes para execução paralela e como criar uma infraestrutura para esta execução com containers
Palestra ministrada em 19/04/2018 no The Developers Conference Florianópolis sobre os principais problemas de achar que BDD é sobre Automação de Testes e o que é realmente BDD
Criando uma grid para execução de testes paralelo com AppiumElias Nogueira
Palestra ministrada em 19/04/2018 na Trilha Mobile do The Developers Conference Florianópolis que fala como criar um device farm para a execução de testes paralelos usando Appium
Como ter sucesso ministrando uma palestra técnicaElias Nogueira
Palestra ministrada em 19/04/2018 na Trilha Carreiras Intel no The Developers Conference Florianópolis que mostra diversas dicas do que não fazer e o que fazer durante uma apresentação técnica.
Quais são os steps de que deve conter na sua pipeline?Elias Nogueira
Lightning talk sobre build pipeline contendo itens de teste que podem servir para dar um rápido feedback.
Esta palestra foi ministrada na XPConfBR em Porto Alegre dia 14/04/2018
Muito se fala planejamento do que é realmente necessário para o usuário e maximizar o máximo de trabalho possível para minimizar o Lead Time. Mas você já pensou que levar em consideração como os testes serão planejados desde o início da release até a entrega, e que eles podem ser uma arma na identificação de dependências entre times e diminuição de incidentes?
2. Elias Nogueira
enogueira@adaptworks.com.br
§ QA Engineer, Agile Coach & Trainer na Adaptworks
§ Professor de Pós Graduação na Unisinos/RS
eliasnogueira.com
eliasnogueira
blog.adaptworks.com.br
3. Diferentes tipos de aplicações
A aplicação híbrida roda em um container nativo, mas é um código HTML
4. Appium
http://appium.io
§ Suporta diferentes linguagens de programação
§ Suporta iOS e Android
§ Automatiza apps Nativas, Híbridas e Mobile Apps (Browser)
§ Baseada no Selenium WebDriver (padrão W3C)
§ Suporta todos os tipos de interação mobile
• Gestos, Swipe, Rotação, Drag
5. Criação do Script de Teste
Passos para a criação do script de teste em qualquer linguagem de programação
DESIRED
CAPABILITIES SESSSION (DRIVER) LOCALIZAÇÃO E
MANIPULAÇÃO
VALIDAÇÃO
SCRIPT DE
AUTOMAÇÃO DE
TESTE
1 4
3
Plataforma
Dispositivo
App
Android
iOS
URL servidor
findElement
click
getText
sendKeys
clear
assertEquals
assertTrue
6. Inspeção dos Elementos
É necessário inspecionar os elementos web dentro do dispositivo
1 4
3
§ No Google Chrome acessamos a URL chrome://inspect
§ Será apresentado a lista de dispositivos que contém páginas HTML
§ Podemos então inspecionar os elementos web
7. Dicas na utilização do Appium
Duas dicas básicas que você sempre precisará ao criar um script de teste com Appium
Trocar o contexto sempre!
§ Para que o Appium consiga ver o
código HTML é necessário trocar o
contexto
driver.context(”contexto”)
Esperas Explícitas
§ É necessário inserir uma espera para
elementos assíncronos ou que demoram.
• Splash | Loading | Show/Hide
Contexto NATIVE_APP Contexto WEBVIEW
8. Dicas na Automação Mobile
Itens que você sempre precisa ficar atento
1
3
4
Execute testes instalando a app e com ela pré instalada
Teste em diferentes redes (Wi-Fi, 3G…)
Teste requisitos não funcionais
Crie uma suíte focada no usuário final 2
9. Dicas de uma Suíte de Automação Mobile
Como construir suites que te darão um feedback mais rápido
Smoke Tests
Testes de
Aceitação
Testes
Funcionais
Principais testes que vão garantir que sua app não terá erros críticos
Foco na utilização do usuário (fluxo de utilização)
Foco nos critérios de cada funcionalidade
10. App alvo dos testes
Pode ser obtida em http://github.com/eliasnogueira/theOneManInventory
11. Exemplo de automação de app híbrida - Java
Exemplo de código para uma app Híbrida usando Java como linguagem
12. Exemplo de automação de app híbrida - JavaScript
Exemplo de código para uma app Híbrida usando Java como linguagem