Service Virtualization

 View Only

SMTP in LISA 

Jul 06, 2015 03:34 AM

Description

This jar will help you sending a mail with attachment.

Set-Up Instructions

1. Navigate to {LISA_HOME}/hotDeploy directory and place the “sendMail.jar”

Capture.PNG

2.  Restart LISA, if it is in running state.

 

Steps for Implementation:

  1. Create a Project in LISA workstation.

Capture.PNG

2. Create a Test Case.

New Picture (4).png

3.  Add a Test Step -> Dynamic Java Execution Step

New Picture (1).png

4.  Open the step and click on New Picture (3).png to select class from the list com->Itko-> utilities ->LISA_SMPT.class or provide “com.itko.utilities.LISA_SMTP” as the value for text box. Hit Construct/Load Object button.

New Picture (2).png

5. Select sendMail function from the call sheet and provide the values for mentioned variables. and property to hold return value and execute.

New Picture (1).bmp

 

Benefits:

  1. Generic Utility, Plug and Play.
  2. Save Manual and Coding Efforts

Statistics
0 Favorited
16 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.