Question: Write a Selenium test script in Python (using PyTest or unittest) that automates this scenario. Your test should include: Validating that the search results load

Write a Selenium test script in Python (using PyTest or unittest) that automates this scenario. Your test should include:

  • Validating that the search results load correctly for the subject entered.

  • Verifying that the modal opens with available time slots after clicking “Book Session”.

  • Booking a session and confirming that the toast message appears.

  • Navigating to the "My Sessions" page and asserting that the session is listed with the correct tutor name and subject.

  • Use appropriate locators, waits, and assertions.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!