Skip to content

EvaRomana05/-selenium-rokomari.com-website-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Java Web Automation

Check out Rokomari.com website automation.

Important note to run this project

step 01) first create a .env file root of the project 
step 02) add information as like as below inside .env file

EMAIL_ADDRESS="ENTER_YOUR_EMAIL_ADDRESS"
EMAIL_PASSWORD="ENTER_YOUR_EMAIL_PASSWORD"

Automation Steps: 1.Sign Up using Google 2. Select লেখক from the menu 3.Select হুমায়ুন আহমেদ 4. Filter Categories like সমকালীন উপন্যাস, রচনা সংকলন ও সমগ্র 5.Scroll Down and go to Next Page 6. Add to cart any two books 7.Click Cart Icon 8. Go to the Shipping page 9. Provide your Shipping Information

This project using the following languages and frameworks:

  • Java 11 as the programming language
  • TestNG as the UnitTest framework to support the test creation
  • Selenium WebDriver as the web browser automation framework using the Java binding
  • .env file added Storing configuration in the environment

Test architecture

We know that any automation project starting with a good test architecture. This project can be your initial test architecture for a faster start. You will see the following items in this architecture:

Do you have any other items to add to this test architecture? Please do a pull request or open an issue to discuss.

Page Objects pattern

I will not explain the Page Object pattern because you can find a lot of good explanations and examples on the internet. Instead, I will explain what exactly about page objects I'm using in this project.

AbstractPageObject

This class has a protected constructor to remove the necessity to init the elements using the Page Factory. Also, it sets the timeout from the timeout property value located on general.properties file.

All the Page Object classes should extend the AbstractPageObject. It also tries to remove the driver object from the Page Object class as much as possible.

Releases

No releases published

Packages

No packages published

Languages