This repository contains a Selenium test scenario written in Java for automating the process of downloading the latest transcript from the Northeastern University portal.
- Java JDK: Ensure that Java JDK is installed.
- WebDriver: Install GeckoDriver for Firefox.
- Browser: Mozilla Firefox browser.
- TestNG: Framework for test execution.
- Allure: For test reporting.
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Project Setup:
- Set up the project in your preferred IDE.
- Download dependencies using Maven or Gradle.
-
WebDriver Configuration:
- Download and configure GeckoDriver for Firefox.
-
CSV File:
- Ensure you have a CSV file with login credentials at
/Users/xinyihu/Desktop/NEU/info6255/SeleniumProject/login_credentials.csv
.
- Ensure you have a CSV file with login credentials at
- The test scenario is configured to download the transcript as a PDF to the specified download directory.
-
Run Tests:
- Run the
Test01
class as a TestNG test.
- Run the
-
Test Steps:
- Log in to the Northeastern University portal.
- Navigate to the My Transcript section.
- Select the desired transcript type, submit the form, and download the transcript as a PDF.
- The login credentials are provided through a CSV file located at
/Users/xinyihu/Desktop/NEU/info6255/SeleniumProject/login_credentials.csv
.
- Use Allure for test reporting.
allure serve allure-results
This repository contains a Selenium test scenario written in Java for automating the process of adding two To-Do tasks on Canvas.
- Java JDK: Ensure that Java JDK is installed.
- WebDriver: Make sure the WebDriver (GeckoDriver for Firefox) is installed.
- Browser: Mozilla Firefox browser.
- TestNG: Framework for test execution.
- Allure: For test reporting.
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Project Setup:
- Set up the project in your preferred IDE.
- Download dependencies using Maven or Gradle.
-
WebDriver Configuration:
- Download and configure GeckoDriver for Firefox.
-
CSV File:
- Ensure you have a CSV file with To-Do task data at
/Users/xinyihu/Desktop/NEU/info6255/SeleniumProject/to-do.csv
.
- Ensure you have a CSV file with To-Do task data at
- The test scenario is configured to add two To-Do tasks to the Canvas Calendar.
-
Run Tests:
- Run the
Test02
class as a TestNG test.
- Run the
-
Test Steps:
- Opens a new tab and navigates to the Canvas website.
- Opens the Calendar and clicks on the "Create New Event" button.
- Navigates to "My To-Do" and adds two To-Do tasks with specified details.
- The To-Do task data is provided through a CSV file located at
/Users/xinyihu/Desktop/NEU/info6255/SeleniumProject/to-do.csv
.
- Use Allure for test reporting.
allure serve allure-results
- Ensure the WebDriver executable is available and paths are correctly set.
- Customize the test script based on specific requirements or Canvas changes.
This repository contains a Selenium test scenario written in Java for automating the process of downloading a classroom guide from Northeastern University's service portal.
- Java JDK: Ensure that Java JDK is installed.
- WebDriver: Make sure the WebDriver (GeckoDriver for Firefox) is installed.
- Browser: Mozilla Firefox browser.
- TestNG: Framework for test execution.
- Allure: For test reporting.
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Project Setup:
- Set up the project in your preferred IDE.
- Download dependencies using Maven or Gradle.
-
WebDriver Configuration:
- Download and configure GeckoDriver for Firefox.
- The test scenario is configured to download a classroom guide from the Northeastern University service portal.
-
Run Tests:
- Run the
Test03
class as a TestNG test.
- Run the
-
Test Steps:
- Opens a new tab and navigates to the Northeastern University service portal.
- Selects a specific classroom from the list.
- Clicks on the Quick Guide PDF link.
- Use Allure for test reporting.
allure serve allure-results
- Ensure the WebDriver executable is available and paths are correctly set.
- Customize the test script based on specific requirements or portal changes.
This repository contains a Selenium test scenario written in Java for automating the process of downloading a dataset from the Northeastern University Library's digital repository service.
- Java JDK: Ensure that Java JDK is installed.
- WebDriver: Make sure the WebDriver (GeckoDriver for Firefox) is installed.
- Browser: Mozilla Firefox browser.
- TestNG: Framework for test execution.
- Allure: For test reporting.
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Project Setup:
- Set up the project in your preferred IDE.
- Download dependencies using Maven or Gradle.
-
WebDriver Configuration:
- Download and configure GeckoDriver for Firefox.
- The test scenario is configured to download a dataset from the Northeastern University Library's digital repository service.
-
Run Tests:
- Run the
Test04
class as a TestNG test.
- Run the
-
Test Steps:
- Opens a new tab and navigates to the Northeastern University Library's search page.
- Clicks on the "Digital Repository Service."
- Opens the datasets page and selects a specific dataset.
- Clicks on the download link for the dataset.
- Use Allure for test reporting.
allure serve allure-results
- Ensure the WebDriver executable is available and paths are correctly set.
- Customize the test script based on specific requirements or library portal changes.
This repository contains a Selenium test scenario written in Java for automating the process of updating the Academic Calendar on Northeastern University's Student Hub.
- Java JDK: Ensure that Java JDK is installed.
- WebDriver: Make sure the WebDriver (GeckoDriver for Firefox) is installed.
- Browser: Mozilla Firefox browser.
- TestNG: Framework for test execution.
- Allure: For test reporting.
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Project Setup:
- Set up the project in your preferred IDE.
- Download dependencies using Maven or Gradle.
-
WebDriver Configuration:
- Download and configure GeckoDriver for Firefox.
- The test scenario is configured to view the Academic Calendar on Northeastern University's Student Hub and unselect the graduate calendar.
-
Run Tests:
- Run the
Test05
class as a TestNG test.
- Run the
-
Test Steps:
- Opens a new tab and navigates to the Northeastern University Student Hub.
- Clicks on "Academics, Classes & Registration."
- Clicks on "Academic Calendar."
- Switches to the Academic Calendar page.
- Unchecks the graduate calendar option.
- Scrolls to the bottom of the page.
- Switches to the calendar iframe and verifies the "Add to My Calendar" button.
- Use Allure for test reporting.
allure serve allure-results
- Ensure the WebDriver executable is available and paths are correctly set.
- Customize the test script based on specific requirements or Student Hub changes.
- Xinyi Hu
- Sonal Gurav
- Sahil Gothoskar
This project is licensed under the MIT License - see the LICENSE file for details.
The test suite is configured using TestNG to execute the five test scenarios collectively. The testng.xml
file defines the suite structure and specifies the classes to include in the suite.
The testng.xml
file orchestrates the test suite with the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Suite">
<listeners>
<listener class-name="io.qameta.allure.testng.AllureTestNg"/>
</listeners>
<test thread-count="5" name="Test">
<classes>
<class name="testPackage.Test01"/>
<class name="testPackage.Test02"/>
<class name="testPackage.Test03"/>
<class name="testPackage.Test04"/>
<class name="testPackage.Test05"/>
</classes>
</test> <!-- Test -->
</suite> <!-- Suite -->
- The testng.xml file specifies the suite structure, including the listeners used for Allure test reporting.
- The suite is named "Suite" and contains a single test named "Test."
- The test includes five classes (Test01 to Test05) representing the individual test scenarios.
- The suite is configured to run with a thread count of 5.