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

0 votes

Jul 16, 2019 in Selenium by SIVA
1,394 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
• 28,000 points

Related Questions In Selenium

+11 votes
16 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,360 points
132,694 views
0 votes
1 answer
+2 votes
1 answer
0 votes
5 answers

How to scroll down a webpage in selenium using Java?

 to scroll up or down with Selenium, a JavaScript executor is a ...READ MORE

answered Dec 15, 2020 in Selenium by Roshni
• 10,420 points
30,571 views
0 votes
2 answers

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,520 points
4,614 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,465 views
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,890 points
3,294 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,010 points
3,896 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
• 28,000 points
3,845 views