QATTS Technical Docs
1.0.0 Prev
1.0.0 Prev
  • QATTS Product Documentation
  • Getting Started
    • About QATTS
    • 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
    • Node
    • User
    • Role
  • Automation
    • Objects
      • UI Element
      • Product Element
        • Advanced Data Types
          • QIntegerArray
          • QStringArray
          • QData
        • Basic Data Types
      • API
      • Query
      • Smarty
      • New Group
    • Functionality
    • Test Data Repository
  • 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
  • Settings
    • Build
    • Milestone
  • Smarties
    • Excel: Read data from excel
    • File: Reads file Data
  • Using QATTS
    • Guide to API Automation
      • Adding API
      • Request
      • Response
        • Writing Response Schema
    • Guide to Web Automation
      • Performing Web Automation
  • Methods
  • Standard Actions Methods
    • setRunValue
    • performAPIFieldLevel
    • Execute Function
    • Execute WorkFlow
    • Execute Test Case
    • Send Request
    • Assert Data
    • Get Run Value
  • UI Element Advanced
    • table
  • UI Action Methods
    • Assertion Methods
      • Assert Groups
      • Assert Product Element
      • Assert HTML Element
      • StateCheck
    • extractGroup
    • Data Population Methods
      • Populate Group
      • Populate Alert
      • Populate Field
    • Link Methods
      • Check Broken Links
      • Extract Link
    • Other UI Action Methods
      • Perform Field Level QAction
      • Perform Element Checks
      • Perfrom Page Checks
      • Wait for Invisibility of Element
      • Get Table Data
      • Refresh Page
      • Alert Action
      • Get Element Size
      • Perform Named Action
  • Error Codes : Automation
  • Error Code: Execution
  • Other Information
    • FAQ
    • Troubleshooting
Powered by GitBook
On this page
  • What is Smarty?
  • Steps to create Smarty

Was this helpful?

  1. Automation
  2. Objects

Smarty

PreviousQueryNextNew Group

Last updated 3 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.

Steps to create Smarty

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.

A new window is opened after clicking on the Studio