This is a test automation project on KSRTC website (Indian Transporation Company).
Clone the repo:
git clone https://github.com/el-sherbini/KSRTC-Automation-Testing.git
Install dependencies:
You need to install these dependencies from mvnrepository:
Selenium
Testng
Webdrivermanager
- Open this website: “https://ksrtc.in/oprs-web/guest/home.do?h=1”
- Choose the following (from "CHIKKAMAGALURU" to "BENGALURU”) from the popular routes
- Choose the arrival date only (date picker)
- Click “Search for bus”
- Select a seat (I used data-driven for filling multiple seats)
- Choose the boarding point and dropping point
- Fill in the “Customer” and “Passenger” details
- Click on “make payment” and fill in all the fields without submitting the payment
- Java
- Selenium
- TestNG
- POM (Page Object Model)
- DDT (Data-driven Testing)