Using Automation Utilities
STEP 1 : Download the Jar file Click Here
STEP 2 : Add the Jar file your project class path
STEP 3 : Add the below dependencies in project POM.XML
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>4.1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>4.1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-net/commons-net-[INFO]: Used for ftpUtils -->
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.6</version>
</dependency>
Is this works in remote machines like ADO and Sauce lab's since we are setting up environment variable locally.
ReplyDeleteI have not checked it, but I think it should work, we need to think how do we move this jar file to sauce labs (like other jars)..Let me know if you get into any issues, we can work together to fix it.
ReplyDeleteBest Regards,
.Click() Automation Labs
Will this work on cloud machines?
ReplyDeleteLike devices in perfecto cloud
DeleteHari, it should work.
DeleteThanks
.Click() Automation Labs
"Store cannot be resolved to a type"
ReplyDelete"The type javax.mail.Store cannot be resolved. It is indirectly referenced from required .class files
The method connectToGmail(Properties) from the type EmailUtils refers to the missing type Store"
This is showing this many errors can u plz help me to resolve this errors.
here is some store problem i cant import store.
Can you please check if you have added same jar files, multiple times in your claspath?
Deletesame problem i too facing sir. Can you help me to sort out this problem?
Deleteseems , there are libraries that are added to classpath more than once.
Deletejavax.mail.MessagingException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate);
ReplyDeleteHow can I resolve this error
javax.mail.MessagingException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate);
Deletenested exception is:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
I am getting above error. can you help
javax.mail.MessagingException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate);
Deletenested exception is:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
I am getting above error. can you help please sir
I always get null on emailtext variable
ReplyDeleteI get like this: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.split(String)" because the return value of "java.util.List.get(int)" is null
Deleteat Helper.testutilities.main(testutilities.java:25)
Hi, did you get a solution for this as I too am getting the same error?
Deletejavax.mail.MessagingException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate);
Deletenested exception is:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
How to resolve this please help me out
package com.testing.framework does not exist
ReplyDelete[ERROR] cannot find symbol
[ERROR] symbol: class EmailUtils
[ERROR] location: class configuration.testutilities
[ERROR] cannot find symbol
[ERROR] symbol: class EmailUtils
[ERROR] location: class configuration.testutilities
[ERROR] -> [Help 1]
javax.mail.MessagingException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate);
Deletenested exception is:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
I am getting above error. can you help
javax.mail.MessagingException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate);
ReplyDeletegetting error like this can you help me