Skip to content

πŸ“±πŸš€ **Automate eBay Shopping with Joy!** πŸ€– Selenium WebDriver + Java = Magic! πŸ’ͺ Explore the enchanting world of test automation as we buy mobile phones from eBay.com with ease! ✨ Join the automation adventure now! πŸ›’πŸ”πŸ§™β€β™‚οΈπŸŒŸπŸš€

License

Notifications You must be signed in to change notification settings

Thiromi97/ebay_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Your Awesome Banner

About Me πŸ‘©β€πŸ’»

Hi there! I'm Thiromi πŸ‘‹, a passionate IT student and Testing Enchantor πŸ§™β€β™‚οΈ. I love diving into the vast ocean of knowledge, searching for new skills to master, and finding the best match for me πŸŒŠπŸ”. If you're as excited about automation as I am, let's connect and work some magic together! ✨

πŸ“§ Email: dasanayakathiromi@gmail.com πŸ’Œ πŸ”— LinkedIn: https://www.linkedin.com/in/thiromi-dasanayaka-307441250/

πŸ“± Selenium WebDriver eBay Automation Project πŸš€

Project Logo

This repository contains a fun and exciting test automation project for buying a mobile phone from eBay.com using Selenium WebDriver with Java. Let's automate like a boss! πŸ’ͺ

Project Overview πŸ‘οΈβ€πŸ—¨οΈ

The main goal of this project is to magically automate the entire process of purchasing a shiny new mobile phone from eBay.com. Our automation sorcery includes:

πŸ” Searching for mobile phones in the "Cell Phones & Accessories" category. 🎯 Filtering search results by selecting a specific brand (e.g., Apple). πŸ“± Choosing the first search result - the chosen one! ✨ πŸ’‘ Extracting and verifying product details like name, price, quantity, and condition. πŸ›’ Adding the product to the cart and comparing it with the product details - poof! It's there! πŸŽ‰

Project Structure πŸ—οΈ

The magical code is structured into four enchanted classes:

  1. ebayTest: The master class that sets up the WebDriver, opens the browser, and executes test cases like a wizard using TestNG annotations. πŸ§™β€β™‚οΈ

  2. HomePage: The mystical class representing the eBay.com homepage. It conjures methods to interact with homepage elements, such as searching for mobile phones and selecting the "Cell Phones & Accessories" category. πŸ§žβ€β™‚οΈ

  3. SearchResultPage: The enigmatic class embodying the search result page. It weaves methods to filter results with magical brand selection and choose the first search result - all in one wave of the wand! πŸ§™β€β™€οΈ

  4. ProductPage: The arcane class holding the secrets of product page details. It reveals the item name, price, quantity, and condition, as if by magic. And, with a wave and a flick, adds the product to the cart! πŸͺ„

How to Run the Magic ✨

To experience the magical tests yourself, follow these enchanted steps:

πŸ§™β€β™‚οΈ Clone this repository to your local machine - don't forget the magic word! πŸ§™β€β™€οΈ Open the project in your favorite spellbook - ahem, I mean IntelliJ IDE. πŸ§™β€β™‚οΈ Make sure you've conjured the necessary dependencies mentioned in the pom.xml file (Selenium WebDriver, TestNG, and other magic spells). πŸ§™β€β™€οΈ Feel free to modify the TestNG XML file (testing.xml) to invoke different browsers (Chrome, Edge) and their respective URLs. πŸ§™β€β™‚οΈ With a grand flourish, right-click on the TestNG XML file and select "Run 'testing.xml'" to unleash the magic of test execution! 🌟

Contribute to the Magic πŸͺ„

We welcome fellow sorcerers and witches to join in the magical fun! If you discover any hidden charms or have mystical ideas for improvements, cast your spell by opening an issue or conjuring a pull request.

License πŸ“œ

This magical project is licensed under the MIT License. Abra Kadabra! 🌌


⭐✨ Experience the enchantment of automation! Don't forget to leave a ⭐️ if you found this spellbinding. Happy automating! πŸ§™β€β™€οΈπŸŒŸ

About

πŸ“±πŸš€ **Automate eBay Shopping with Joy!** πŸ€– Selenium WebDriver + Java = Magic! πŸ’ͺ Explore the enchanting world of test automation as we buy mobile phones from eBay.com with ease! ✨ Join the automation adventure now! πŸ›’πŸ”πŸ§™β€β™‚οΈπŸŒŸπŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages