Avo Assure
Avo Assure - User Guide v24.1
Avo Assure - User Guide v24.1
  • About Avo Assure
    • Avo Assure Lifecycle
    • Avo Assure Architecture
  • Get Started with Avo Assure
  • Explore Exciting New Features with Our Informative Video Series v24.1.0
  • Release Notes
    • Avo Assure v24.1.1
      • Session Timeout
    • Avo Assure v24.1.0 (May 2024)
      • 01. TestRail Integration
      • 02. Keyword - setBearerToken
      • 03. LDAP Configuration
      • 04. Swagger Import Definition
      • 05. Manage Project
      • 06. Unlock Test Suites
      • 07. Switch Keyword
      • 08. Testcase Assignment
      • 09. Connect With Salesforce DB Using SOQL
      • 10. Dry Run Check
      • 11.Zephyr Scale Integration
      • 12.Api Key Authorization
    • Avo Assure v24.0.3
      • 01. Bitbucket Integration
    • Avo Assure v24.0.2
    • Avo Assure v24.0.1
      • 1. Conversion of Non-Avo scripts to Avo scripts
      • 2. Custom Keyword
      • 3. Centralized Element Repository
      • 4. Tag a Test case
      • 5. Unified Reporting for Project Test Suites and Test Cases
      • 6. Journey View
      • 7. AI Testcase Generation
      • 8. Git Integration
      • 9. Avo Genius for SAP Application
      • 10. Advanced Debug
    • Avo Assure v23.2.4
    • Avo Assure v23.2.3
      • 1. rightClickTreeNode Keyword
      • 2. drag Keyword
      • 3. rightClickCell Keyword
      • 4. setTextCell Keyword
    • Avo Assure v23.2.2
      • 1. getElementColor Keyword
      • 2. drag Keyword
      • 3. drop Keyword
      • 4. rightClick Keyword
      • 5. closeSubWindow Keyword
      • 6. verifyStyle Keyword
      • 7. getDelimitedValue Keyword
      • 8. Code Snippet for CI/CD Execution
    • Avo Assure v23.2.1
      • 1. BrowserStack Integration - Mobile Web Application
      • 2. BrowserStack Integration - Mobile Native Application
    • Avo Assure v23.2.0
      • 1. Modish
      • 2. Impact Analysis
      • 3. SauceLabs Integration - Mobile Native
      • 4. Click and Add Elements - Mobile Application (iOS Native)
      • 5. BrowserStack Integration
    • Avo Assure v23.1.6
      • Module Locking Functionality
    • Avo Assure v23.1.5
      • 1. sendSecureKeys Keyword
      • 2. Enhancement Request for Testcase-Level Distribution
      • 3. Normal Execution and Scheduling Execution Enhancement - Email Alerts
      • 4. CI/CD Execution Enhancement - Email Alerts
      • 5. Mapping an Avo Test Script to an ADO Testcase
      • 6. Avo Assure Execution Status Updates in Azure DevOps
    • Avo Assure v23.1.4
      • 1. Cloud Test Providers drop-down
      • 2. Import and Export in Git format
      • 3. verifyAttachmentContent keyword
      • 4. Click and Add Elements - Mobile Application
      • 5. Advanced Upgrade Analyzer
    • Avo Assure v23.1.3
      • 1. Element Identifier Order
      • 2. Element Property Editor
      • 3. SauceLabs Integration
        • SauceLabs Integration for Web
        • SauceLabs Integration for Mobile Web
      • 4. SetOAuth2.0 keyword
      • 5. Mobile native APP, Serial Number display
      • 6. Mobile native APP, Full scrape enhancement
    • Avo Assure v23.1.2
      • 1. Object Identifier Prioritization Feature
      • 2. Azure DevOps Integration
      • 3. Import and Export Mindmap in Excel, JSON, and Complete Module(s) Format
      • 4. Element Identifier Order
      • 5. Keyword - comparePDFs
    • Avo Assure v23.1.0
      • 1. New UI/UX
      • 2. Avo Genius
      • 3. CI/CD Configuration in Avo Assure
      • 4. Mindmap Delete in Avo Assure
      • 5. Enhanced Elastic Execution Grid
      • 6. Keyword Addition to numberFormatter for Generic Object
      • 7. Keyword Stabilization Text box
      • 8. OEBS Custom keyword support
      • 9. ToolTip for all the keywords in Design Screen
      • 10. Extensive Support for Packaged App
      • 11. Combo box Keyword Stabilization
      • 12. Upgrade Analyzer
      • 13. In Sprint Automation
      • 14. OEBS SelectFromNavigator Keyword Support
      • 15. Import and Export of Module
      • 16. Delete Scenario / Screen / Testcase from DataBase
      • 17. Agent Metrics Enhancements
      • 18. Stabilization of Avo Genius for Web and Sales Force web application
      • 19. Test Execution can be exercised without having to create execution profile
      • 20. JIRA Integration Enhancement
      • 21. Import and Export of Mindmap in Avo Assure
    • Avo Assure v22.2.0
    • Avo Assure v22.1.1
  • General Information
    • Supported Technologies
  • Avo Assure Installation Requirements: Requirement Specification
    • Requirements
      • System Requirements
        • Server Side
        • Client- Side
      • Browser Requirements
    • For Windows
    • For Mobile
    • For MacOS
    • For Enterprise Resource Planning (ERP)
  • Avo Assure Platform
    • Administration
      • User Management
        • Create Users
        • Edit Users
        • Delete Users
        • User Roles
      • Agents
        • Install Agent
        • Configure Agent
      • Grids
      • Session Management
      • Project Creation
      • Authentication Configuration
        • LDAP Configuration
        • SAML Configuration
      • Feature Management
        • LLM Model
        • AI Template
      • License management
      • Manage Project
      • Locked Test Suites
    • Get Started
      • Setup–Windows
      • Setup–Mac
      • Setup-Avo Assure Client
    • Overview of Avo Assure
      • Log in Screen Overview
      • Home Page Overview
        • Edit User Profile
        • Manage integrations
          • Jira Integration
          • Azure DevOps Integration
          • Zephyr Integration
          • qTest Integration
          • ALM Integration
          • SauceLabs Integration
          • BrowserStack Integration
          • Git Integration
        • Conversion of Non-Avo scripts to Avo scripts
      • Capture Elements Screen Overview
        • Create Manually
          • Import Screen
          • Export screen
      • AvoAssure Object Identification Screen Overview
      • Design Test Steps Screen Overview
        • Export and Import of Testcase
        • Add Test Step Details
      • AI Testcase
    • Test Planning
      • Mindmap Overview
        • Creating and Modifying a Mindmap
        • Context Menu
        • Export Mindmap
        • Import Mindmap
    • Test Creation
      • Element Identification (Capturing Elements)
        • Element Identification - WEB Application
        • Element Identification - SAP Application
        • Element Identification - Oracle E-Business Suite
        • Element Identification - Salesforce Application
        • Element Identification - Desktop Application
        • Element Identification - Mobile Web Application
        • Element Identification - Mobile Application (Native)
        • Element Identification - IRIS
        • Element Identification - Web Services (API)
          • SOAP APIs
          • Import Definition SOAP API
          • REST APIs
      • Avo Genius
      • Avo Genius for SAP Application
      • Authoring Testcases
        • Testcase Authoring – WEB Application
        • Testcase Authoring– SAP Application
        • Testcase Authoring - OEBS Application
        • Testcase Authoring - Desktop Application
        • Testcase Authoring - Mobile Web Application
        • Testcase Authoring - Mobile Application (Native)
        • Testcase Authoring - IRIS
      • Element Property Editor and Prioritization
    • Test Maintenance
      • In Sprint Automation
      • Upgrade Analyzer
      • Impact Analysis
      • Element Repository
    • Test Execution
      • Create Execution Configuration
      • Executing Test Flow
        • Execute with Avo Assure Client
        • Execute with Avo Assure Agent/Grid
        • CI/CD Execution
        • Schedule
      • Execute Now - Without Execution Profile
      • Parallel Execution
      • Accessibility Testing
      • CI/CD-Harness
    • Reports Analysis
      • Test Reports Creation
        • Reports from Landing page
      • Unified Reporting for Project Test Suites and Test Cases
      • Report from Design Studio
      • Execution Report Formats
      • Reports in Avo Assure Client
      • Report Summary
      • Reports via Email
      • Agent Health Status
    • Integration
      • Test management
        • TestRail
          • Generate TestRail API Token
          • TestRail Testcase Mapping
          • TestRail Testcase Execution
        • CloudALM Overview
          • Getting started with SAP CloudALM
          • Creating a Project in SAP CloudALM
          • Creating a Test Case in SAP CloudALM
          • Setting Environment for Execution
          • Creating CloudALM project in Avo Assure
          • Mapping with CloudALM
          • Testing with CloudALM
        • Zephyr Scale
        • Jira Integration
          • Jira API Token Generation
          • Jira Configuration in Avo Assure
          • Mapping Jira Testcases in Avo Assure
          • Issue Logging
        • Zephyr Integration
          • Generate API Access Token
          • Zephyr Integration using Avo Assure
          • Mapping Test Cases(Zephyr)
          • Executing
      • Test Execution
        • SauceLabs Integration
          • Web Application
          • Mobile Web Application
          • Mobile Native Application
        • BrowserStack Integration
          • Web Application
          • Mobile Web Application
          • Mobile Native Application
      • Test Analysis
        • Azure DevOps Integration
          • Configuring and Executing(Azure Integration)
          • Issue Logging in Azure DevOps via Avo Assure reports
        • Jira Integration
      • Version Control
        • Git Integration
        • Bitbucket Integration with Avo Assure
          • Bitbucket API Token Generation
          • Creating a new Workspace in Bit Bucket
          • Create new Project Key in Bitbucket
          • Bitbucket Integration in Avo Assure
          • Bitbucket Commit/Push
          • BitBucket Restore
          • Edit/Delete Bitbucket
    • Extensions
      • Utilities
        • Encryption
        • Data Table
        • GenRocket
        • Migrate Script
          • Convert Non-Avo Script to Avo Script
          • Converted Non-Avo Script to Avo
  • Keywords
    • Generic Keywords
      • String Operations
      • Interrupt Operations
      • Date Operations
      • Database Operations
      • Mathematical Operations
      • File and Folder Operations
      • Variable Operations
      • Logical and Looping Operations
      • Skip Operations
      • XML and JSON Operations
      • Batch Operations
      • Screenshot
      • Other Operations
      • Excel Operations
    • Web Keywords
      • @Browser
      • @Browser Pop-up
      • Button
      • Checkbox
      • Radio Button
      • Textbox
      • Link
      • Element
      • Dropdown / List
      • List
      • Image
      • Table
      • Grid
      • Tablecell
      • @Object
      • @Custom
      • Common_Web
    • API Testing Keywords
      • @Web Service List
      • Web Service Elements
    • SAP Keywords
      • Operations
      • Custom Operations
      • Common Operations
      • Textbox Operations
      • Button Operations
      • RadioButton Operations
      • Checkbox Operations
      • Dropdown Operations
      • Table Operations
      • Scroll Operations
      • Shell Operations
      • Element Operations
      • Tree Control Operations
      • GridView Control Operations
      • Calendar Operations
      • Container Operations
      • Tabs
    • Desktop Keywords
      • Window
      • Button
      • Checkbox
      • Radio Button
      • Textbox
      • Element
      • Dropdown/ List
      • List
      • Tab
      • Date Time Picker
      • Email
      • Table
      • Tree
      • Custom
      • Common_Desktop
    • IRIS Keywords
      • Textbox
      • Table
      • Checkbox/ Radio Button
      • Scroll
      • Common_IRIS
    • Android Native Keywords
      • @Mobile
      • @Android_Custom
      • @Action
      • Textbox
      • Button
      • Checkbox
      • Other Components
      • Radio Button
      • Toggle Button
      • Listview
      • Spinner
      • Pickers- Date & Time
      • Seek Bar
      • Range Seek Bar
      • Number Picker
      • Common Android Native Keywords
    • iOS Keywords
      • @Mobile
      • @Custom
      • Textbox
      • Button
      • Checkbox
      • Radio Button
      • Switch
      • Picker
      • Slider
      • Date & Time Components
      • Table
      • Other Components
      • Common in iOS
    • Mobile Web Keywords
      • Link
      • @Action
      • @Browser
      • @Browser Pop-up
      • Button
      • Checkbox
      • @Custom
      • Element
      • Image
      • Textbox
      • List
      • Radio Button
      • Dropdown/ List
      • Table
      • Table Cell
      • Common_Web
    • OEBS Keywords
      • Link
      • Button
      • Checkbox
      • @Custom
      • Element
      • @Oebs
    • Mainframe Keywords
    • Custom Keyword
  • itdm
    • About iTDM
    • Release Notes
      • Avo iTDM v24.1.0
        • Avo iTDM
    • iTDM Installation Overview
      • System Requirements
        • Server Side
        • Client- Side
      • Browser Requirements
    • iTDM Platform
      • Administration
      • Get Started
        • Establish Database Connections
        • Configure Compliance Templates
      • How to use AVO iTDM to generate Test Data
        • Establish Database Connection
        • Create New Mapping
        • Create New Job
        • Configure Obfuscation and Data Generation Job
          • Data Profile
          • Manage Subset
          • Obfuscate Data
          • Manage Target (Data Provisioning)
          • Schedule
          • Preview
        • Download Test Data
      • Supported Integrations
        • Database Integrations
        • API Integrations
          • Data Discovery
            • Urls
          • Data Sub-Setting
            • JSON:Save Subset
          • Job configuration
            • Urls
            • JSON
          • Test Data Generation
            • Urls
            • JSON Save Obfuscation Inputs
            • JSON: Save Obfuscation target
          • Data Provisioning
            • Urls
            • JSON
            • JSON:Check Target Tables
          • Test Data Generation -Job Scheduling
            • Urls
            • JSON: Save Schedule Info
      • Obfuscation Techniques – as part of Obfuscate Data Module
      • Glossary
Powered by GitBook
LogoLogo
On this page
  • Keyword: GETBLOCKCOUNT
  • Keyword: GETBLOCKVALUE
  • Keyword: GETTAGVALUE
  • Keyword: GETKEYVALUE
  • Keyword: SETKEYVALUE
  • Keyword: COMPAREJSONCONTENT
  • Keyword: GETXMLBLOCKDATA
  • Keyword: COMPXMLFILEWITHXMLBLOCK
  • Keyword: SELECTIVEXMLFILECOMPARE
  1. Keywords
  2. Generic Keywords

XML and JSON Operations

PreviousSkip OperationsNextBatch Operations

Last updated 1 year ago

Keyword: GETBLOCKCOUNT

Description: This keyword or action instructs Avo Assure Client to fetch the number of blocks in the given input and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getBlockCount

<XML block/ JSON block>;<XML blockname/ JSON parentblockname1>.<parent_blocknameN (optional)>; <JSON parent_block1_index>,<JSON parent_blockn_index> (optional)

(Optional)

  • XML/JSON files

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below for JSON:

In the above example, after the test case debug, it fetches the number of blocks in the given input. It saves the result in the output variable {result}, and the execution status “True”/ “False” will be stored in the second output variable if provided.

Note: For JSON inputs, the block count of the block with a certain key-value pair can be fetched. Syntax: <JSON_block>; <parent_blockname>.<child_block/key_name>:<child_block/key_value>; <parent_blockindex>.<child_blockindex>

Find the snippet of the keyword below for JSON when fetching block count based on key-value pair match:

In the above example, after the test case debug, it fetches the number of blocks in the given input that match the criteria of the key ‘pin’ to have the value ‘560012’. It saves the result in the output variable {result}, and the execution status “True” / “False” will be stored in the second output variable, if provided.

Find the snippet of the keyword below for XML:

In the above example, after the test case debug, it fetches the number of blocks in the given input and saves the result in the output variable {A}. The execution status “True”/ “False” will be stored in the output variable.

Keyword: GETBLOCKVALUE

Description: This keyword or action instructs Avo Assure Client to fetch the value of the XML block/tag specified by the user and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getBlockValue

<XML tag name>; <number of blocks to be fetched>; <block name>

{Variable}

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below for XML:

In the above example, after the test case debug, it fetches the value of the XML block. It saves the result in the output variable {B}, and the execution status “True”/ “False” will be stored in the variable {GetBlockValue}.

Keyword: GETTAGVALUE

Description: This keyword or action instructs Avo Assure Client to fetch the tag value from the input provided by the user and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getTagValue

<XML block/ XML tags>; <number>; <block name>; <tag name>

{Variable}

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below for XML:

In the above example, after the test case debug, it fetches the value from the input provided. It saves the result in the output variable {C}, and the execution status “True”/ “False” will be stored in the variable {TagValue}.

Keyword: GETKEYVALUE

Description: This keyword or action instructs Avo Assure Client to fetch the value of the specified key from the input provided by the user and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getKeyValue

<JSON block>; <parent_key1>.<parent_keyn> (optional); <parent_block1_index>, <parent_blockn_index> (optional), <key_count>; <key_name>

{Variable}

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below for JSON:

In the above example, after the test case debug, it fetches the key’s value from the input provided and saves the result in the output variable {getKeyValue}. In this example, {getKeyValue} will hold “Blueberry”.

Keyword: SETKEYVALUE

Description: This keyword or action instructs Avo Assure Client to set the value of the specified key from the input provided by the user and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

setKeyValue

<JSON block>;

<parent_key1>. <parent_keyn>; <parent_block1_index>, <parent_blockn_index>, <key_count>;<key_name>;<key_value>

{Variable}

  • Text

  • Static values

  • Dynamic variables

Find the snippet of the keyword below for JSON:

In the above example, after the test case debug, it sets the key’s value from the input provided and saves the result in the output variable {setKeyValue}. In this example, “Devils Food” will be replaced by “Heavens Food” and {setKeyValue} will hold the changed JSON.

Keyword: COMPAREJSONCONTENT

Description: This keyword or action instructs Avo Assure Client to verify if 2 JSON files or 2 JSON data match or do not match.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

compareJsonContent

<File_path - Original File/Input Text (Original)>; <File_path - File to Compare/Input Text (Changed)>

{Variable}

  • JSON file path

  • JSON data

  • Static values/ Dynamic variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the JSON files are compared, and the match result (True/ False) will be stored in the output variable {result}.

Keyword: GETXMLBLOCKDATA

Description: This keyword or action instructs Avo Assure Client to fetch the block data based on the given block xpath.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getXmlBlockData

<XML_file_path>;

<block_xpath>

{Variable}

  • XML file

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it fetches the block data based on the block xpath given in the input and saves the result in the output variable {BlockData}.

Keyword: COMPXMLFILEWITHXMLBLOCK

Description: This keyword or action instructs Avo Assure Client to compare the block data with the XML file specified whose block xpath is provided.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

compXmlFileWithXmlBlock

<XML_File_path>;

<block Data from getXmlBlockData keyword>;

<block xpath in file provided>

{Variable}

  • XML file

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it compares the block data provided by the getXmlBlockData keywords with the file based on its block xpath and stores the comparison result in the output variable {result}.

Keyword: SELECTIVEXMLFILECOMPARE

Description: This keyword or action instructs Avo Assure Client to use the specified block data (based on block xpath) and compare the block data between 2 XML files.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectiveXmlFileCompare

<XML_file_path - Original File>; <XML_file_path - File to Compare>;<all/selective - output result (optional)>; <block xpath_in_file_

provided>

{Variable}

  • XML file

  • Text

  • Static values/ Dynamic variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it compares the block data provided between the XML files and stores the comparison result in the output variable {result}.