This is my first automation testing project, developed during my training in Software Testing (QA).
The main purpose of this automation project is to develop my automation testing skills, especially applied to web technologies.
-
JavaScript as programming language
-
Node.js as runtime environment
-
WebdriverIO as automation framework for web applications
-
Google Chrome as test browser, with chromedriver
- The first time I created a remote repository on GitHub, then a local repository on my computer.
- In the project's local folder, I installed the WebdriverIO automatic testing framework from the Command Terminal, by executing the command: "npm init wdio .".
- Before the final installation of the drivers required for automated testing, I had to configure WebdriverIO by choosing certain options in the form in Terminal: selecting the base URL, using Google Chrome with chromedriver, setting the specific location where the files are located of the JavaScript test code ("./test/specs/**/*.js"), changing the command to run the test in the configuration file to "npm test".
- After I have finished installing the necessary files, I open a JS code file in the "test/specs" folder and add the unitary organized test suite with proper names for all the tests in it, following the documentation of the WebdriverIO framework.
- The automated test suite is executed by running the "npm test" command in the Command Terminal.
As support, I used the website https://www.emag.ro/ for these tests.
The suite of basic automated tests was written to check different functional and non-functional aspects or methods of https://www.emag.ro/ website.
A short video on how this automated test works and what are the checked points.