Sample (automationpractice.com) website automation project with selenium java
-
Visit the given URL: https://test.sharebus.co/
-
Navigate to LoginPage by clicking "Sign in" button
-
Login with email("brainstation23@yopmail.com") and password("Pass@1234")
-
Select user as "Sharelead" from menu options
-
Click "Set Up a ShareBus" button
-
Insert required Trips details and click "Continue" [Please use location address as: From="Oslo, Norway" and To="Kolbotn, Norway"]
-
On Membership page click "Yes" and select "NTNUI" club and click "Continue"
-
Need any ticket for himself? click on "No" button
-
Activate ticket discounts? click "No" button
-
Click on the "Create ShareBus" button
-
Click on the "Publish" button
-
Insert data on required fields
-
Click on the "Review and publish" button
-
Click on the "Publish" button
-
Click on the "my busses" from navbar
-
Verify that the new Trip is displayed on the "My busses" page
This project covers the following topics:
1.Java
2.Maven
3.Selenium
4.TestNG
5.Page Object Model
6.Data-Driven
7.Page Factory
8.Allure Report
Command for run allure report
Method 1
alllure serve [abs path of allure-results]
Method 2
Gnerating report: allure generate ./allure-results --clean
Display report using server: allure open ./allure-report
Git command Clean git cached command: git rm -rf --cached .