Skip to content

This is a suite of automated tests which verify different details of Babeș-Bolyai University student platform Academic Info.

Notifications You must be signed in to change notification settings

MirceaMacarie/Academic_Info_Automation_Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Academic Info Automation Test

This is a suite of automated tests which aims different technical functionalities of Babeș-Bolyai University student platform Academic Info.


📌 Inspiration and personal purpose 📈

This automation project was created to practice personal automation skills and to check basic technical aspects of Academic Info, one of the most used websites by me, as a student of BBU Cluj.

📌 Project technologies 💻

  • JavaScript as programming language

  • Node.js as runtime environment

  • WebdriverIO as automation framework for web applications

  • Google Chrome as test browser, with chromedriver

📌 Setup and installation 🛠️

  1. The first time I created a remote repository on GitHub, then a local repository on my computer.
  2. In the project's local folder, I installed the WebdriverIO automatic testing framework from the Command Terminal, by executing the command: "npm init wdio .".
  3. 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".
  4. 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.
  5. The automated test suite is executed by running the "npm test" command in the Command Terminal.

📌 Web support 🔗

As support, I used the website https://academicinfo.ubbcluj.ro/Info/ for these automation test.

📌 Testing objectives 🔬

This project was thought as a way to:

  • check if certain functions of the site can be automated,
  • if it respects a Positive Flow for a normal user / student,
  • to check certain static details (buttons, titles, text, etc.).

‼️ N.B. From the flow of tests thought and written by me, the only functionality that could not be automated is the reCAPTCHA element. This is the only button accessed manually during the execution of the automated test.

📌 Demo videos of the Automation test 🎬

There are 2 versions of the test execution presented below in 2 short videos.

  1. The first version verifies that all the tests are working properly, with no coding errors. 👇
Test1_passed.mp4
  1. The second version contains a test that verifies the existence of Copyright for the current year (2022). It is observed in the video that the test fails for this reason, the Copyright of the web platform not being updated, which is a bug. 👇
Test2_failed.mp4

About

This is a suite of automated tests which verify different details of Babeș-Bolyai University student platform Academic Info.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published