Course Content
Introduction to QA Automation Testing
Introduction to QA Automation Testing
Introduction to Selenium
So far, we were writing Unit Tests to test the functionality of units of code, however, for testing broader features like the login and registration system, we can no longer employ unit testing, as it is no longer a single unit, rather, it is a combination of multiple units and components of the program working together to form a feature.
One way to test features like the login system is to manually use the website and verify the results; however that would be considered as manual testing. There are tools which help us automate the browsers and perform various operations like visiting the website, inputting data, and interacting with elements. These tools can be used along with a test framework like Jest or Mocha, to perform such tests.
The following video introduces one of such tools along with a tutorial on how to integrate it with our Node application.
Code
Note that it is not important to analyze and understand the code used in this chapter. Most of the functions and methods in this code will be explored in the upcoming chapters.
Thanks for your feedback!