Comments (5)
Please see documentation about Gmail here: https://nexiality.github.io/documentation/commands/mail/index#gmail
If the provided instruction suffice, please kindly close this ticket. Thanks!
from nexial-core.
Also, please have a read at this: https://nexiality.github.io/documentation/systemvars/index.html#nexial.enableEmail
You can set up your mail server connectivity via command line (as in set JAVA_OPT=-D...
) or project.properties. It's pretty much a one-time set up. Once you got it, you should be good to go.
from nexial-core.
Here's some examples on how to set up gmail for nexial email notification.
Via Command Line
(on *NIX):
export JAVA_OPT="-Dnexial.enableEmail=true -Dmail.smtp.host=smtp.gmail.com -Dmail.smtp.port=587 [email protected] -Dmail.smtp.auth=true -Dmail.smtp.username=<mail_account>@gmail.com -Dmail.smtp.password=<password> -Dmail.smtp.starttls.enable=true -Dnexial.scope.mailTo=<recipients>"
(on Windows):
set JAVA_OPT=-Dnexial.enableEmail=true -Dmail.smtp.host=smtp.gmail.com -Dmail.smtp.port=587 [email protected] -Dmail.smtp.auth=true -Dmail.smtp.username=<mail_account>@gmail.com -Dmail.smtp.password=<password> -Dmail.smtp.starttls.enable=true -Dnexial.scope.mailTo=<recipients>
Via project.properties
nexial.enableEmail=true
nexial.scope.mailTo=<recipients>
mail.smtp.host=smtp.gmail.com
mail.smtp.port=587
[email protected]
mail.smtp.auth=true
mail.smtp.username=<mail_account>@gmail.com
mail.smtp.password=<password>
mail.smtp.starttls.enable=true
Key things to note:
- Nexial will not send out email notification UNLESS
nexial.enableEmail
set totrue
andnexial.scope.mailTo
properly configured to the intended recipients. - For Gmail,
mail.smtp.starttls.enable
should be set totrue
. - It is possible to put some settings via command line, some via project.properties, and even some in data file. However, keeping things on track might get a little tricky.
from nexial-core.
just realized that v1.1 has a restriction such that only the "command line" technique works... This will be fixed shortly.
from nexial-core.
Thanks Mike! Works with new build!
Go Nexial ! ! !
from nexial-core.
Related Issues (14)
- project.properties file data not being read HOT 4
- Duplicate activity names now generates error resulting in skipping of all test scenarios HOT 2
- export from excel script format to selnium IDE format javascript (WebDriverJS) HOT 1
- Unable to run tests utilizing web browser - nexial version 2.9_0735+ HOT 15
- Data overriding through plan is not working as expected HOT 3
- grpahql documentation missing HOT 1
- GraphQL call fails HOT 5
- Could not find or load main class org.nexial.core.tools.SeleniumScriptConverter while converting selenium code to nexial. HOT 2
- Request for JSON expression to ability to add data to JSON structure HOT 2
- set to turn off shell trace drops java exit value HOT 3
- Include datasheet name used on Summary sheet HOT 2
- After each test scenario the console shows a Null Pointer error HOT 2
- Interactive mode reload properties file for real time data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nexial-core.