Softwarre Project Report
Softwarre Project Report
TESTING
Project Report
Name : VISHALI MS
Unique ID : E0321004
Year : IV
Term : II
Department : AIDA
ADVANTAGES
1. Improved User Experience:
The project makes website navigation easier with intuitive features such as product
sorting, filtering, and wishlists, allowing users to find and manage their desired
products easily.
2. Time-Saving Automation:
Automates repetitive tasks like logging in and adding items to the cart, streamlining
the shopping process and making it faster and more efficient for frequent shoppers.
3. Design:
In response to your question, I do not require the company's sponsorship for any
immigration-related employment benefits, such as a work visa or work permit, either
now or in the future.
4. Learning & Practicability:
It also provides a hands-on demonstration of web development skills, illustrating how
proficiency in HTML, CSS, and JavaScript contributes to building a fully functional
e-commerce platform.
5. E-commerce Functional Understanding:
Provides clear insights into the key features of a modern e-commerce platform,
including user authentication, product management, and shopping cart functionality,
which are essential for any online retail company.
SOURCE CODE(selenium)
package com.sample;
import java.net.URL;
import org.checkerframework.checker.units.qual.s;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.Select;
import java.util.concurrent.TimeUnit;
try {
driver.get("http://127.0.0.1:5502/index.html");
driver.manage().window().maximize();
name.sendKeys("Selenium Test");
email.sendKeys("[email protected]");
mobile.sendKeys("1234567890");
confirmPassword.sendKeys("1234567890");
signupButton.click();
System.out.println("Successfully Registered User with Selenium");
Thread.sleep(3000);
username.sendKeys("[email protected]");
password1.sendKeys("1234567890");
loginButton.click();
System.out.println("Successfully LoggedIn");
Thread.sleep(3000);
// Mouse hover
WebElement hoverElement = driver.findElement(By.name("tab3"));
actions.moveToElement(hoverElement).perform();
Thread.sleep(1000);
System.out.println("Successfully hovered menu");
//Composite Action
WebElement priceSort = driver.findElement(By.id("priceSort"));
actions.click(priceSort).perform();
// Step 2: Locate the dropdown list and select the value "high"
WebElement dropdown = driver.findElement(By.id("priceSort")); // Assuming it's a
select element
Select select = new Select(dropdown);
select.selectByValue("high");
System.out.println("Successfully Done Composite Action");
namel.sendKeys("Selenium");
cardnumber.sendKeys("1234567890");
expdate.sendKeys("07/2025");
otp.sendKeys("123");
payButton.click();
System.out.println("Successfully finished to payment details");
Thread.sleep(3000);
otp1.sendKeys("1234");
submitButton.click();
System.out.println("Successfully finished to otp page");
// Check Logout
WebElement logout = driver.findElement(By.id("logout"));
logout.click();
Thread.sleep(1000);
System.out.println("Successfully logged out");
Thread.sleep(1000);
System.out.println("--- All Test completed successfully---");
}
catch (Exception e) {
e.printStackTrace();
}
finally {
driver.quit();
}
}
}
OUTPUT(SCREENSHOTS)
FUTURE ENHANCEMENT
1. Advanced Search Functionality:
2. Improved Payment:
3. Order Tracking:
Include an option so users can track their orders in real time
Send email/SMS for update
4. Personalized Recommendation:
CONCLUSION
The Sugar Cosmetics project has successfully developed a fully functional e-commerce
platform that incorporates essential features such as product listings, a shopping cart, user
authentication (utilizing Firebase), and a payment gateway. This project leverages
technologies such as HTML, CSS, JavaScript, and Firebase for user authentication,
emphasizing the importance of user-centered design and effective data management through
local storage.
In addition to enhancing technical skills, this initiative underscores the value of collaboration
in creating modern, user-friendly web applications. With the proposed future enhancements,
the project has the potential to evolve into a comprehensive framework for managing and
developing e-commerce platforms, ultimately ensuring optimal performance and user
satisfaction.