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
  • Variables
  • Run Variables

Was this helpful?

Standard Actions Methods

Qatts provides few handful action methods that help in interacting with the Product to perform automation. The method syntax follows normal Java standards.

Variables

Run Variables

void setRunValue(String propName, Object cacheValue)

void performAPIFieldLevelAction(String apiName, String sectionName)

void executeFunction(String workFlowName)

void executeWorkflow(String workFlowName)

void executeWorkflow(String workFlowName, String dataName)

void executeWorkflow(String workFlowName, Object testInputObj)

void executeTestCase(String workFlowName, String dataNameRef)

void executeTestCase(TFWorkflow tfWorkflow, String testCaseRef)

QData sendRequest(String apiName)

QData sendRequest(String apiName, Map additionalData)

boolean assertData(String groupName,Map baseData,Map targetData)

boolean assertData(String groupName,Map baseData,Map targetData,boolean recursive)

boolean assertData(Object baseData,Object targetData)

Object getRunValue(String propName)

String getRunValueStr(String propName)

void setRunValue(String propName, Object cacheValue)

Object getContextValue(String keyName)

String getContextValueStr(String keyName)

void setContextValue(String keyName, Object cacheValue)

void createCounter(String counterName,Integer startIndex,String scope)

Integer incrementCounter(String counterName)

boolean checkValue(String elementName,Object targetObj)

boolean hasTestData(String elementName)

String getTestDataStr(String elementName)

String getDataStr(String elementName)

Object getTestData(String elementName)

Object getData(String elementName)

QData getTestDataByGroup(String groupName,String type,boolean recursive)

QArray getQueryResults(String queryName)

QData getQueryData(String queryName)

void logInfo(String message)

void logError(String message)

void logError(String message,IBException exception)

void sleep(Integer waitTime)

void exit(String exitMsg)

void setReportParam(String paramName)

void setReportParam(String paramName, Object paramValue)

Object doSmarty(String smartyName,Object data)

QArray toQArray(Object arrayObject)

QData toQData(Object dataObject)

QData toQData(Object dataObject,String keyName)

boolean assertGroup(String groupName, QData qData,boolean recursive)

boolean assertGroup(String groupName, QData qData,String elementType,boolean recursive)

boolean assertGroup(String groupName, String srcArrayElementName, QArray qArray,String elementType,boolean recursive)

void convertToJson(String srcElementName,String destElementName)

PreviousPerforming Web AutomationNextsetRunValue

Last updated 3 years ago

Was this helpful?