We will automate the ticket booking scenario on SpiceJet website.
First of all, you need to create a maven project in eclipse or IntelliJ IDE then add all the cucumber, TestNG, and other dependencies in the pom.xml file.
Check dependencies here.
Then Follow these steps and create the files:-
Create the cucumber feature file and copy the below steps or write your own steps.
Create a step definitions for above steps in step definition package.
Hoping that you enjoyed reading this post and working on the project. Working on hands-on automation projects like this one is the best way to sharpen your skills.
I hope you have learned something new today.
Thanks for Reading !!!
anonymous | April 15, 2022, 3:01 p.m.
Add more details