Test your Django views and forms using Selenium

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

learn how to setup Selenium for Django testing

test the Django view for the presence of HTML components

test whether a hyperlink and a form submit button work

Clock2 hours
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this 2-hour long project-based course, you will learn how Selenium can be integrated with your Django project. Selenium is quite fun to learn and use: it can make your python program pretend it is an actual user browsing a website, so it is ideal for testing web application. You will use Selenium to test various aspects of a sample Django project. After understanding how the sample project works, your will write Selenium test functions to test the views of the project apps. In particular, you will learn how to test the presence of certain strings in a web page, the presence of form elements, whether a link successfully navigates to the right page, and whether a form is successfully submitted. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

  • Django development
  • Python Testing
  • Unit Testing
  • Selenium testing
  • Django forms

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Understand the sample Django project and its apps

  2. Setup the project for Selenium testing

  3. Perform basic tests on the view

  4. Test the form elements and links

  5. Test the form submission

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.