Skip to content

swastik-sourav-sahoo/KIIT-SAP-Portal-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KIIT SAP Portal Automation

Introduction

KIIT Deemed University provides a SAP Portal to its students for all the academics and college related stuffs.

Some facilities available in the SAP are :

  • Student Attendance Details
  • Fees Details
  • Demand Letter
  • Subject and Exam bookings
  • Grade Reports
  • Material/Resources

Rationale

I recently came across Selenium. Selenium is an open-source tool that automates web browsers. I wanted to try that out. So this project was meant for practice only.

How To Run

  1. Download the project. The project is inside the SAP Automation directory.
  2. Download the Drivers & Jars directory.
  3. Add all the JARs to the Build Path Configuartion.
  4. Give the path of Geckodriver in Action.java file line number 22.
  5. Save the file.
  6. Run Launcher.java

Implementation

In this project, Java EE, Firefox and Selenium have been used along with Eclipse and Geckodriver.

  1. In the beginning, a window pops up asking for the user's roll number and password to login.
  2. When the Submit button is clicked, a new folder "SAP Extract" is created (if not exists) at the desktop.
  3. Mozilla Firefox opens up and navigates to SAP Portal.
  4. It then tries to log in. If the credentials are incorrect, "Invalid Credentials" will get printed in the window.
  5. Else, it will make a folder inside SAP Extract named by the roll name.
  6. It will then perform the following operations :
    • Make a Downloads folder inside the roll number directory. This folder is used when something is downloaded. The files are renamed and moved to their respective directories.
    • Fetch and extract the user's attendance details and place it in a folder called "Attendance Details". There will be an Excel sheet each for the semesters.
    • Fetch and extract the user's information and place it in a folder called "Sudent Details". The details will be stored in a text file.
    • Download the Demand letter and store it in a folder called "Demand Letter".
    • Download the grade reports and store it in a folder called "Grade Report". The files will be in PDF formats and named according to the semester.
    • At the end, the Downloads folder is deleted.
  7. The status of each of this functionality (worked succesfully or failed) gets printed in the window displayed.

Note

This project is not meant for any monetized activites. Its for learning purposes only. Feel free to use the code if needed for academic benefits only.
The code was developed in September 2021. There maybe some changes in the portal after the development due to which the program may not work .

Thanks & Regards
Swastik Sourav Sahoo

Releases

No releases published

Packages

No packages published

Languages