QATTS Technical Docs
2.0.0 Main
2.0.0 Main
  • QATTS Product Documentation
  • Getting Started
    • About QATTS
      • A Quick Tour of QATTS
      • Terminology
      • Relationship
    • Dashboard
  • Getting to know
  • Administration
    • Product
      • How to Add Product
      • Configure Test Data Repository
    • Code Branch
      • How to Add Code Branch
    • Feature
    • Client
      • How to Add Client
    • Deployment
      • How to Add Deployment
      • Database Config
      • Email Config
    • Node
      • Streaming Configuration
      • How to register node for streaming
      • Status And Actions
    • Agent
    • User
    • Role
  • Studio
    • UI Elements
      • text_box
        • Properties Library
        • Trouble Shoot
      • loader
        • Trouble Shoot
      • date
      • button
      • drop_down
        • Trouble Shoot
        • Properties Library
      • label
      • check_box
      • radio_button
      • link
      • Shadow
      • Trouble Shoot
      • Properties Library
      • Pre and Post Actions
      • table
        • Example
        • Trouble Shoot
      • form
      • toogle_button
      • file
      • alert
  • Automation
    • Objects
      • UI Element
        • Drop Down
        • Radio Button
        • Multi Elements
        • table
        • form
      • Product Element
        • Advanced Data Types
          • QIntegerArray
          • QStringArray
          • QArray
          • QData
        • Basic Data Types
      • API
      • Query
      • Smarty
        • Excel: Read data from excel
        • File: Reads file Data
        • EmailRead
        • EmailSend
        • SiteScan
        • PDF Utils
      • New Group
    • Test Case
    • Function
    • Data Table
  • Execution
    • Test Case
      • Clients Summary
      • Search and Manage
      • Context Parameters
      • Details by Functionality
        • Sync
    • Test Suite
      • Create Suite
    • Test Run
      • Schedule Test Run
      • Untitled
    • Test Result
      • Results by Clients
      • Results by Fuctionality
    • Build No
    • Reports
      • All Failed Test Cases
      • Recently Failed Test Cases
  • Others
    • Milestone
  • Settings
    • Builds
    • Milestone
  • Site Scan
  • Using QATTS
    • Guide to API Automation
      • Adding API
      • Request
      • Response
        • Writing Response Schema
    • Guide to Web Automation
      • Performing Web Automation
    • Guide to setup agent-service
  • Advanced Data Types
    • QData
  • Methods
  • Standard Actions Methods
    • Execute Methods
  • UI Action Methods
    • extractGroup
  • File Action Methods
  • UI Element Advanced
  • UI Checks
  • Extraction Rules
  • Assertion Operations
  • Error Codes : Automation
  • Error Code: Execution
  • JSpreadSheetUtil Methods
  • Functions
    • Primitive
      • CONCATENATE
    • Date & Time
    • Text
  • Other Information
    • FAQ
    • Troubleshooting
      • UI Methods
Powered by GitBook
On this page

Was this helpful?

  1. Automation
  2. Objects
  3. Smarty

EmailRead

EmailRead smarty reads email recent 10 emails from the mail box and filter them based on match criteria.

PreviousFile: Reads file DataNextEmailSend

Last updated 3 years ago

Was this helpful?

aliasName

Email configuration is done in deployment. Aliasname that you want to use for this configuration

Must be a defined alias name from deployment

mailServer

Type of Mail server that you are connecting to. For popular mail server we have predefined props that will ease off configuration

Options: office365,gmail

protocol

Mail Access Protocol

Options:imaps,smtp,pop3s,pop3

host

Host name to connect to the mail server

Examples: outlook.office365.com

port

Port no to listen on

domain

Domain Name to access mail box

Optional. Mostly required if you mail server is linked to your active directory

username

Username to access mailbox

password

Password to access mailbox

sharedMailbox

Mailbox address of shared mailbox that you want to access

Optional

folder

folder in the mail box from which you want to fetch email

Optional: Default: Inbox

Example: Inbox/orders

matchCriteria

Matching text in subject or body.

Expression format: [fieldName]:[operation]:[value]

Supported operators: contains , equals Logical Operators: AND / OR (Make sure to give before and after Logical operators

Simple Eg: body:contains:Ram

With Dynamic Value Eg: subject:contains:${FirstName}

With Complex Logical Operation Eg: body:contains:Ram AND subject:equals:Inviated

matchOptions

Option to return single item or all

Default: firstOnly

Options:firstOnly,all

extract.field

Message Data field from which information to be extracted

Message Fields: subject,body,receivedDataTime,fromEmail,fromName,toEmails,toNames,ccEmail,ccNames,bccEmails,bccNames

extraction.operation

Extraction rules to be applied on the message field

Refer to

Extraction rules