How to insert a file in Attach File in Gmail by selenium java ?

0 votes

Jul 16, 2019 in Selenium by SIVA
632 views

1 answer to this question.

0 votes

Hey Siva, to insert a file in Attach file in Gmail, you can use Java Mail Jar file instead of using Gmail UI Automation. You can checkout this thread which performs the similar automation of sending an attachment with an email: 
https://www.edureka.co/community/52112/how-to-send-a-report-through-email-using-selenium-webdriver

answered Jul 17, 2019 by Abha
• 27,800 points

Related Questions In Selenium

+9 votes
15 answers

How to automate gmail login process using selenium webdriver in java?

Check the below code: Here is the working ...READ MORE

answered Apr 24, 2018 in Selenium by Vardy
• 2,370 points
96,472 views
0 votes
1 answer
+2 votes
1 answer
0 votes
2 answers

How to scroll down a webpage in selenium using Java?

This works... JavascriptExecutor jse = (JavascriptExecutor)driver; j ...READ MORE

answered Apr 3, 2019 in Selenium by anonymous
13,810 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
2,186 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,870 points
1,811 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,870 points
1,790 views
0 votes
1 answer

How to pass parameter through testng.xml file to a test case in Selenium Webdriver?

Hello Revathi, to pass parameter through testng.xml ...READ MORE

answered Jun 12, 2019 in Selenium by Abha
• 27,800 points
1,472 views