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. Product Element
  4. Advanced Data Types

QData

QData is a data structure which holds data in name:value pairs.

Data modifiers: After reading data from any source such as Excel Smarty, Test Data Sheets, API, Database, modifiers will be activated. Qatts has rich library of modifiers defined. On a dataset (QData) many modifiers can be configured to operate in sequential batches. Modifiers has to configured using product element properties.

Property name syntax: modifier.batch[number].[Source Data Name].to.[Result Data Name]

Source Data Name: Source Data Name is the data key name on which data modification has to be done. if the data value is empty modifiers will not be executed.

Result Data Name: Result Data Name is the data key name in which result of the modifier will be saved.

Batch Number: In some cases modifier has to be operated in a sequence. Use incremental numbers with prefix batch. All modifiers in a batch will be executed in any order.

Property value syntax: convertTo:delimiter.[Delimiter String/Char]

Date Conversion: Converting basic data to advanced data types

Expression to use: convertTo:delimiter.[Delimiter String/Char]

Predefined Delimiters: comma, dot, hash, hyphen

Custom Delimiter: must be defined in square brackets. Some examples:

delimiter.[and] word and is delimiter

delimiter.[break by] word break by is delimiter

delimiter.['] character single quote is delimiter

Moving Data: Moving data from one element to another element.

Expression to use:

moveTo:keyName.[Child Column Name]:keyValue.[Child Column Data]

Methods

String getKey()

boolean isEmpty()

boolean containsValue(Object object)

boolean hasDataFor(String dataName)

Integer size()

String[] getKeyNames()

void setValue(String dataName,Object dataValue)

Object getValue(String dataName)

String getValueAsString(String dataName)

Integer getValueAsInteger(String dataName)

Double getValueAsDouble(String dataName)

Boolean getValueAsBoolean(String dataName)

QData getValueAsQData(String dataName)

String dump()

String toJson()

String toJsonArray(String keyName,String valueName)

PreviousQArrayNextBasic Data Types

Last updated 3 years ago

Was this helpful?