Testing y calidad de software. Automatización de pruebas con Selenium WebDriver

Cubas Montenegro, Rafael (2017). Testing y calidad de software. Automatización de pruebas con Selenium WebDriver. Trabajo Fin de Grado / Proyecto Fin de Carrera, E.T.S.I. y Sistemas de Telecomunicación (UPM), Madrid.

Descripción

Título: Testing y calidad de software. Automatización de pruebas con Selenium WebDriver
Autor/es:
  • Cubas Montenegro, Rafael
Director/es:
Tipo de Documento: Trabajo Fin de Grado o Proyecto Fin de Carrera
Fecha: 28 Febrero 2017
Materias:
ODS:
Escuela: E.T.S.I. y Sistemas de Telecomunicación (UPM)
Departamento: Ingeniería Telemática y Electrónica
Licencias Creative Commons: Reconocimiento - Sin obra derivada - No comercial

Texto completo

[thumbnail of PFC_RAFAEL_CUBAS_MONTENEGRO.pdf]
Vista Previa
PDF (Portable Document Format) - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (2MB) | Vista Previa
[thumbnail of PFC_RAFAEL_CUBAS_MONTENEGRO_ANEXOS.zip] Archivo comprimido ZIP - Acceso permitido solamente a usuarios en el campus de la UPM
Descargar (32MB)

Resumen

El presente proyecto fin de carrera describe los conceptos básicos relacionados con la automatización de la fase de pruebas en un proyecto software utilizando la herramienta Selenium WebDriver. Esta herramienta de automatización permite programar pruebas en un lenguaje de alto nivel (java en nuestro caso) haciendo uso del API que proporciona.
Gracias a las diferentes funcionalidades que ofrece dicho API, se puede simular la interacción que realizaría un usuario sobre una determinada aplicación web y de esta manera poder recoger así datos sobre el funcionamiento de la misma. Para estructurar toda la información recogida en el PFC, se han desarrollado tres partes, cada una de ellas con un propósito diferente.
La primera parte consiste en describir el marco tecnológico del proyecto, aquí se ha realizado una introducción a la calidad de software mencionando algunas de las normas ISO que hacen referencia a esta disciplina y presentando también las técnicas y tipos de pruebas más frecuentes. Además de lo anterior, esta primera parte también contiene una introducción a la automatización de pruebas y a la herramienta Selenium, describiendo su evolución y presentando algunos detalles sobre su funcionamiento.
Por otro lado, la segunda parte del PFC se ha centrado en el estudio de las principales clases y métodos que proporciona el API de Selenium WebDriver. Se han incluido ejemplos y descripciones con el objetivo de crear una pequeña guía para que cualquier lector, que esté interesado, pueda empezar a trabajar con ésta herramienta de una manera sencilla.
Finalmente, la tercera parte contiene la puesta en práctica de lo aprendido en las dos partes anteriores. En esta fase del proyecto se ha planteado un supuesto práctico tomando como base una aplicación web real, TestLink, y se han diseñado varios casos de prueba automáticos para poder realizar una evaluación de Selenium WebDriver. El resultado ha sido bastante satisfactorio ya que, con conocer lo más básico sobre WebDriver, hemos sido capaces de automatizar las acciones que realizaría un tester de forma manual y obtener información sobre el comportamiento mostrado por la aplicación durante la ejecución de los tests automáticos.
Para concluir el PFC se ha incluido también un capítulo sobre las posibles líneas futuras de investigación, debido a que el trabajo aquí expuesto únicamente representa una introducción al mundo de la automatización de aplicaciones utilizando Selenium.
ABSTRACT.
The current project describes the basic concepts related to the automation of the testing phase in a software project using the Selenium WebDriver tool. This tool allows programming tests in a high level language, java in our case, making use of the API that it provides.
Thanks to the different functionalities offered by this API, it is possible to simulate the interaction that a user would perform on a particular web application, and in this way, to collect data about its operation. In order to structure all the information gathered in the project, three distinct
parts have been developed:
The first part consists of describing the technological framework of the project. An introduction to software quality has been made mentioning some of the ISO standards that refer to this and also presenting the most frequent techniques and types of tests. In addition to the above, this first part also contains an introduction to test automation and the Selenium tool, describing its evolution and presenting some details about its operation.
The second part of the PFC has been focused on the study of the main classes and methods provided by the Selenium WebDriver API. Examples and descriptions have been included in order to create a concise guide so that any interested user can easily start working with this.
Finally, the third part consists off an implementation of the knowledge acquired in the previous sections. In this phase of the project, a practice example has been raised taking a real application (TestLink) as a base of the automation tests in order to evaluate Selenium. The obtained results have been satisfactory, that with a basic knowledge about Selenium API, we have been able to automate the actions performed by a tester and obtain information about the behavior of the application during the execution of automate tests.
Before completing the project, we have also included a chapter in the third part about future lines of research. The current document just represents an introduction to the automation tests with Selenium.

Más información

ID de Registro: 49320
Identificador DC: https://oa.upm.es/49320/
Identificador OAI: oai:oa.upm.es:49320
Depositado por: Biblioteca Universitaria Campus Sur
Depositado el: 30 Ene 2018 12:47
Ultima Modificación: 30 Ene 2018 12:47