Skip to content

An implementation of a test scenario covering the testing of the eBay page, using Page Object Pattern. Testing performed in Chrome browser. Code implemented in Eclipse using Java, Selenium WebDriver and TestNG.

Notifications You must be signed in to change notification settings

akmaz/eBayProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

eBayProject

An implementation of a test scenario covering the testing of the eBay page, using Page Object Pattern. Testing performed in Chrome browser, in Windows 10. Code implemented in Eclipse using Java, Selenium WebDriver and TestNG.

Prerequisites

To run the project, you will need:

  • JDK 8 - you can download here.
  • Eclipse - you can download here.
  • Maven - you can download 'Maven integration for Eclipse' from Eclipse Marketplace.
  • TestNG - you can download 'TestNG for Eclipse' plug-in from Eclipse Marketplace.
  • Chrome Driver - version used: Chrome 78. Driver is already added to the project in the src/test/resources/drivers folder.

Maven uses the below dependencies:

  • Selenium WebDriver - used version 3.141.59.
  • TestNG - used version 7.0.0.

Running the test

In order to perfom the testing, run the testng.xml file.

Address of a website being tested: https://www.ebay.com/

For now, the test convers basic test cases for the Cart page content and Search page content.

Screenshot of the current version of the eBay page:

alt text

Sample screenshot of the Excel file:

alt text

Developed page/component objects:

  • Header Component - the header of the eBay page
  • Footer Component - the footer (version for subpages such as Cart Page)
  • Cart Page - eBay subpage that displays your cart
  • Item Listed Component - small boxes displaying individual items on Search page

Partly developed page/component objects that need finishing:

  • Main Page - main eBay page
  • Search Page - search page on eBay
  • Item Page - subpage displaying an individual item to buy
  • Item In Cart Component - an item box on the Cart page
  • Left Bar Component - a left bar displaying different search criteria on the Search page

Ideas for future development:

  • finishing off the current classes
  • tests that involve a logged in user

Acknowledgments

Any problems that I stumbled upon while working on the project were solved thanks to:

About

An implementation of a test scenario covering the testing of the eBay page, using Page Object Pattern. Testing performed in Chrome browser. Code implemented in Eclipse using Java, Selenium WebDriver and TestNG.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published