Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Argentesting 2018 - Introducción a la automatización de pruebas con tecnologías .Net

1,321 views

Published on

Taller ofrecido por Abel Quintana López (de Uruguay) durante la 3ra edición del Argentesting 2018

.Net es una de las tecnologías más usadas y populares en el desarrollo del software, por lo que es sumamente importante en el área de testing conocer las herramientas disponibles en el mercado que nos permiten la automatización de pruebas con esta tecnología.

Durante el taller analizaremos las últimas herramientas y tecnologías (actualizadas del 2018) para la automatización de pruebas con .Net y estaremos viendo cómo integrarlas para crear la base de un framework de pruebas automatizadas (UI) con funcionalidades como: Reportes Ejecución en paralelo Manejo de datos Visual testing.

El objetivo de este taller es brindarle a la audiencia el conocimiento necesario para lograr automatizaciones de pruebas exitosas en .Net.

Se analizaran herramientas como NUnit3, Selenium WebDriver para .Net, ExtentReports, entre otras.

Requerimientos
No hay máquinas en el aula. Cada asistente debe llevar su propia notebook con: Sistema operativo Window con Visual Studio instalado.

El software con que vamos a estar trabajando es Visual Studio (preferentemente 2017), en este caso no nos serviría Visual Studio Code.



Abel Quintana López
https://www.linkedin.com/in/abel-quintana-lopez-371a31b9/


Published in: Technology
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1url.pw/IGZlj ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Argentesting 2018 - Introducción a la automatización de pruebas con tecnologías .Net

  1. 1. Introducción a la automatización de pruebas con tecnologías .Net Ing. Abel Quintana López @beloquintana belo.quintana@gmail.com
  2. 2. Automatización de pruebas .NET
  3. 3. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  4. 4. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  5. 5. Automatización de pruebas – ¿Qué es?  Es un proceso que se realiza para apoyar las tareas de testing en el desarrollo del software.  Donde se aplican metodologías y herramientas para ejecutar casos de prueba de forma automática.
  6. 6. Pruebas de regresión:  Grupo de pruebas que se ejecutan periódicamente después de cada modificación del sistema  Prueban que las funcionalidades existentes continúen funcionando correctamente Automatización de pruebas – Objetivo
  7. 7. Pruebas de regresión / Tiempo Pruebas de regresión - Manual  Ejecuciones lentas  Menos tiempo para probar nuevas funcionalidades
  8. 8. Pruebas de regresión - Automatizada Pruebas de regresión / Tiempo  Ejecuciones automáticas  Ahorro de tiempo
  9. 9. Niveles de Pruebas Automatizadas Interfaz de usuario Servicios Web Pruebas Unitarias
  10. 10. Niveles de Pruebas Automatizadas – Interfaz de usuario Lenguajes de Programación Herramientas Back-end Acciones Front-end Aplicación web o mobile Interfaz de usuario Servidor
  11. 11. Niveles de Pruebas Automatizadas – Servicios Web Lenguajes de Programación Herramientas Back-end Acciones Servidor
  12. 12. Ventajas de las Pruebas Automatizadas  Ahorro de tiempo y recursos  Estabilidad y Fiabilidad  Acelera el desarrollo y las salidas a producción
  13. 13. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  14. 14. Herramientas de automatización de .Net ExtentReport
  15. 15. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  16. 16. Herramientas de automatización - NUnit Framework de pruebas unitarias  Anotaciones  Validaciones
  17. 17. NUnit - Anotaciones Controlan la ejecución de los Test
  18. 18. NUnit - Anotaciones  TestFixture  Test  SetUp  TearDown  SetUpFixture  OneTimeSetUp  OneTimeTearDown
  19. 19. NUnit – Anotaciones – Orden Ejecución Test OneTimeSetUp SetUp TearDown OneTimeTearDown
  20. 20. NUnit - Validaciones Chequean el valor esperado de los casos de pruebas
  21. 21. NUnit - Validaciones  Assert.AreEqual  Assert.AreNotEqual  Assert.IsTrue  Assert.IsFalse
  22. 22. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  23. 23. Selenium WebDriver - .Net Permite interactuar con los navegadores web  Simula un usuario  Click en botones  Escribir en campo de texto  Abrir y Cerrar navegador Selenium WebDriver Nivel Interfaz de usuario
  24. 24. Selenium WebDriver IWebDriver  Driver.Navigate().GoToUrl  Driver.Quit  Driver.FindElement  IWebElement  WebElement.SendKeys  WebElement.Click
  25. 25. Selenium WebDriver
  26. 26. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  27. 27. Actividad práctica #1 https://github.com/beloquintana/automationexercises http://verstandqa.com/ejercicios/
  28. 28. Actividad práctica #1 I. Automatizar caso de prueba: Login II. Automatizar caso de prueba: Adicionar Empleado III. Ejecutar los tests en Paralelo IV. Crear juegos de datos para el caso de prueba Adicionar Empleado
  29. 29. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  30. 30. ExtentReports ExtentReport Genera reporte HTML  Log  Mostrar captura de pantalla  Dashboard  Filtro
  31. 31. ExtentReports
  32. 32. ExtentReports
  33. 33. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  34. 34. Applitools Visual Testing  Detectar regresiones de diseño  Estilos de componentes web  Visibilidad de componentes web
  35. 35. Applitools - ¿Cómo funciona? Primera ejecución del test  Guarda imágenes  Reporte base Ejecuciones posteriores del test  Comparación de imagen  Define resultado del test
  36. 36. Applitools
  37. 37. Applitools
  38. 38. Applitools
  39. 39. Applitools https://help.applitools.com/hc/en-us/articles/360006915372-Dealing-with-shifting-content
  40. 40. Agenda  Introducción a la automatización de pruebas  Herramientas de automatización .Net NUnit / Selenium WebDriver Actividad práctica #1 ExtentReport / Applitools Actividad práctica #2
  41. 41. Actividad práctica #2 I. Generación de reporte con ExtentReport II. Crear cuenta de Applitools III. Visual Testing con Applitools
  42. 42. Automatización de pruebas  Panorama de la automatización  Ventajas  Framework de pruebas automatizadas https://github.com/beloquintana/automationframework
  43. 43. Muchas gracias!
  44. 44. Introducción a la automatización de pruebas con tecnologías .Net Ing. Abel Quintana López @beloquintana belo.quintana@gmail.com

×