Selenium Assignment – 8 – Sending a mail from Gmail

In this assignment, we will be practicing writing dynamic xpath and the scenario is login to Gmail Account and send an email.

Scenario:

  • Open any browser of your choice, say Mozilla Firefox
  • Navigate to https://www.gmail.com

selenium assignment gmail login

  • Enter a valid Email Id or Phone Number
  • Click Next button

selenium assignment gmail login

  • Enter Password and click “Sign in” button.
  • Verify that gmail is logged in successfully.
  • Click compose button and verify that a new mail window is opened.

Selenium Assignment - login to gmail

  • Enter Email Id say “saurabh@qatechhub.com”
  • Enter some subject, say “Test Mail”
  • Enter some text in body

Compose_Screen_with_data

  • click send button.

Try this scenario and send us the code for feedback and assessment, or if you have any questions, queries or comments. Feel free to write us saurabh@qatechhub.com. We will be back soon with next assignment.

Till then, Keep Learning 🙂

Saurabh Dhingra

About the Author

Saurabh Dhingra

Follow Saurabh Dhingra: