Skip to content

TestNG automation project in Java Selenium. The implemented automation framework is 100% open source and the components are as follows: Eclipse, Java, Selenium, JUnit, Apache POI, TestNG.

Notifications You must be signed in to change notification settings

AnjulGupta12/SpiceJet_TestNG_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

SpiceJet

  • TestNG automation project in Java Selenium.
  • The implemented automation framework is 100% open source and the components are as follows:
    Eclipse, Java, Selenium, JUnit, Apache POI, TestNG.
  • Steps are as follow :

    LOGIN -> FLIGHT FINDER -> SELECT FLIGHT -> BOOK FLIGHT -> FLIGHT CONFIRMATION -> LOGOUT
  1. LAUNCHING OF WEBSITE

launch into spicejet website in chrome
https://www.spicejet.com/
create method for wait(), screenshot()
maximise the screen
implicitly wait for 6 sec

  1. LOGIN

Login using login button
Click on email Radiobutton
Enter email and password
click on login button

  1. FLIGHT FINDER

Click on "Flight Option" radio button
Click on "One Way" radio button
Enter "From" to "To" destination
Add Departure date
Check Return date TextBox is Disable
Add 3 Adults and 2 Children
Choose INR currency
Click on Search Flight button

  1. SELECT FLIGHT

Select the first element and first radio button
Click on Continue Button
Wait untill Upgrade element is visible
Click on Skip button

  1. BOOK FLIGHT

Fill all the necessary detail( Title, First Name, Last Name, Mobile number, Location, Next Element to fill next passanger detail)

  1. CONFIRM BOOKING

Choose your seat as 7A
Don't click on Continue Button but show the message "The last Continue Button for payment is not clicked deliberatly"

  1. LOG OUT

Click on Log out drop down option
Click LogOut Button

  1. QUIT THE BROWSER

Close and quit the open website

About

TestNG automation project in Java Selenium. The implemented automation framework is 100% open source and the components are as follows: Eclipse, Java, Selenium, JUnit, Apache POI, TestNG.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages