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: CREATEDYNVARIABLE
  • Keyword: CREATECONSTVARIABLE
  • Keyword: DELETEDYNVARIABLE
  • Keyword: DISPLAYVARIABLEVALUE
  • Keyword: MODIFYVALUE
  • Keyword: COPYVALUE
  • Keyword: GETINDEXCOUNT
  • Keyword: DELETECONSTVARIABLE
  1. Keywords
  2. Generic Keywords

Variable Operations

PreviousFile and Folder OperationsNextLogical and Looping Operations

Last updated 1 year ago

In Avo Assure, we can automate special cases that involve data containing newlines and tabs. This can be achieved by making use of the dedicated dynamic variables in Avo Assure, as seen below:

Dedicated Dynamic Variables

Definition

{newline}

This can be used when the escape character ‘\n’ needs to be replaced.

{tab}

This can be used when the escape character ‘\t’ needs to be replaced.

Keyword: CREATEDYNVARIABLE

Description: This keyword or action instructs Avo Assure Client to create a new dynamic variable and assign the value specified to the created new variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

createDynVariable

<variable name>; <value to be stored>

(Optional)

NA

Note: Variable name should be enclosed between { }.

Find the snippet of the keyword below:

In the above example, after the test case debug, the new dynamic variable is created with value “10,” and the execution status “True” / “False” will be stored in variable {CreateDynVar_aa}.

Keyword: CREATECONSTVARIABLE

Description: This keyword or action instructs Avo Assure Client to create a constant variable and assign the specified value.

Note:

  • Variable name should be enclosed between underscores (for ex: _var_).

  • A constant variable within Avo Assure will remain constant throughout the execution at the test suite level.

  • If the test step tries to modify the value of a constant variable, then the test step will fail.

  • If the constant variable is not created and used in the output field, then a constant variable, as specified by the user, will be created, and the result of the test step will be stored in it.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

createConstVariable

<variable Name>;<value to be stored>

(optional)

  • Direct values

  • Static values

  • Dynamic variables

  • Constant variables

Find the snippet of the keyword below:

In the above example, after the test case debug, a constant variable with the value “1234” will be created, and the execution status (True/False) will be stored in the output variable (if provided).

Usage: If the keyword of a test step accepts a file path in its output field and the output field contains a constant variable (whose value is a file path), then the result of the test step will be written into the specified file path and the constant variable content will not be modified.

Below is a snippet of the constant variable being used for a keyword that accepts file path in its output variable:

In the above example, after the test case debug,

  • At the first test step, a constant variable with a value containing the file path “D:\Docs\demo.xls” will be created and can be referred to by its name (_constVar_).

  • At the second test step, the files will be compared, and the comparison result will be written to “D:\Docs\demo.xls” (since the constant variable, _constVar_ holds this file path as its value)

Keyword: DELETEDYNVARIABLE

Description: This keyword or action instructs Avo Assure Client to delete the existing dynamic variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

deleteDynVariable

<variable>

(Optional)

NA

Note:

  1. The input variable should be existing.

  2. Variable name should be enclosed between { }.

  3. Multiple variables can also be deleted at once using semicolon as a separator. For example; the input will then be {var1};{var2}

Find the snippet of the keyword below:

In the above example, after the test case debug, variable {bb} is deleted, and the execution status “True” / “False” will be stored in variable {DeleteDynamicVariable}.

Keyword: DISPLAYVARIABLEVALUE

Description: This keyword or action instructs Avo Assure Client to display the variable value at the execution point.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

displayVariableValue

<variable>

(Optional)

  • Text

  • Static values/ Dynamic variables

Note:

  1. Variable name should be enclosed between { }.

  2. A popup is displayed with the variable name and value.

  3. The input variable should be existing. When a non-existing variable is provided as input, “null” is displayed as a variable value.

  4. By default, the display popup is visible for 3 seconds. The time limit can be increased or decreased in config.json within the “displayVariableTimeOut” tag.

  5. Both static and dynamic variables can be displayed.

  6. Also, an index can be provided to a dynamic variable using another dynamic variable for that, and the index starts from 0. For example:

    1. For 1-dimensional: {variable[{index}]}

    2. For 2-dimensional: {variable[{index}],[{index}]}

Find the snippet of the keyword below:

In the above example, after the test case debug, it displays the variable values at the point of execution.

Keyword: MODIFYVALUE

Description: This keyword or action instructs Avo Assure Client to change the existing variable value to another value.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

modifyValue

<variable whose value needs to be changed>; <new value>

(Optional)

NA

Note: Variable name should be enclosed between { }.

Find the snippet of the keyword below:

In the above example, after the test case debug, the new value in {bb} will be 30, and the execution status “True” / “False” will be stored in variable {ModifyValue}.

Keyword: COPYVALUE

Description: This keyword or action instructs Avo Assure Client to copy the value to a new variable from an existing variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

copyValue

<target variable>; <source variable>

(Optional)

NA

Note: Variable name should be enclosed between { }.

Find the snippet of the keyword below:

In the above example, after the test case debug, the value of {aa} will be copied to variable {bb}, and the execution status “True” / “False” will be stored in variable {CopyValue}.

Keyword: GETINDEXCOUNT

Description: This keyword or action instructs Avo Assure Client to fetch the maximum array count in a variable and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getIndexCount

<variable containing list value>

{Variable}

NA

Note: To display the variable,

  1. For a 1-dimensional array, the index starts from 0, and the array count will start from the 0th index. For example, if the count is 7, it will fetch a value of 6.

  2. For Desktop AppType, the index starts from 1, and the array count will start from the 1st index.

Find the snippet of the keyword below:

In the above example, after the test case debug, it fetches the count of variable {indexCount} and stores the value in {Gen_Count}.

Keyword: DELETECONSTVARIABLE

Description: This keyword or action instructs Avo Assure Client to delete an existing constant variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

deleteConstVariable

<Variable Name>

(Optional)

NA

Note:

  • The input variable should be existing.

  • Variable names should be enclosed between underscores (for example, _var_).

  • Multiple variables can also be deleted at once using a semicolon as a separator. For example; the input will then be _var1_;_var2_

Find the snippet of the keyword below:

In the above example, after the test case debug, the constant variable “_var_” will be deleted, and the execution status (True/False) will be stored in the output variable (if provided).