Selenium Assignment – 8 – Sending a mail from Gmail

April 6, 2017

In this assignment, we will be practicing writing dynamic xpath.


  • Open any browser of your choice, say Mozilla Firefox
  • Navigate to

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 “”
  • Enter some subject, say “Test Mail”
  • Enter some text in body


  • 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 We will be back soon with next assignment.

Till then, Keep Learning 🙂


About the Author


Follow Saurabh:

Leave a Comment: