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
  • What is Smarty?
  • Step by step walkthrough
  • Short Video

Was this helpful?

  1. Automation
  2. Objects

Smarty

Smarty is a predefined words or functions that are used in the Action class.

PreviousQueryNextExcel: Read data from excel

Last updated 2 years ago

Was this helpful?

What is Smarty?

Smarty is a predefined words or functions that are used in the Action class. For example while testing, If you have to read OTP of an email for 'n' number of times, Instead of writing down the code each and every time you can use the predefined word such as "email:Reads OTP", where the action that needs to be taken is already written in the library files.

Predefined Smarties

Email: Read OTP

EmailRead

EmailSend

Capcha

Site Scan

Excel: Read Data from Excel File

Msg Publish: Push message to Published Topic

Step by step walkthrough

To add Smarty follow the below steps.

STEP 1: Click on Studio on the Left Navigation Panel, it directs to new window which will be appearing as shown below.

STEP 2: On the right corner Click on "+" icon and select Add Smarty, it should appear as below.

STEP 3: Fill the required details as shown in the below screenshot.

  • Smarty Name: Name could be any of the user choice.

  • Description: Describe the function of the smarty.

  • Smarty Type: Specify the type of smarty you want to add from the drop down box.

STEP 4: After adding the required details click on Save and the data will be added in the Group you have Selected.

Short Video

File: Reads File Data
A new window is opened after clicking on the Studio