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: BEAUTIFY
  • Keyword: COMPAREFILES
  • Keyword: COMPAREINPUTS
  • Keyword: NORMALIZEPDF
  • Keyword : GETCONTENT
  • Keyword: GETLINENUMBER
  • Keyword: REPLACECONTENT
  • Keyword: VERIFYCONTENT
  • Keyword: VERIFYFILEIMAGES
  • Keyword: IMAGESIMILARITYPERCENTAGE
  • Keyword: COMPARECONTENT
  • Keyword: CLEARFILECONTENT
  • Keyword: WRITETOFILE
  • Keyword: CELLBYCELLCOMPARE
  • Keyword: SELECTIVECELLCOMPARE
  • Keyword: FINDIMAGEINPDF
  • Keyword: COMPAREPDFS
  • Keyword: SAVEFILE
  • Keyword: CREATEFOLDER
  • Keyword: VERIFYFOLDEREXISTS
  • Keyword: RENAMEFOLDER
  • Keyword: DELETEFOLDER
  • Keyword: CREATEFILE
  • Keyword: VERIFYFILEEXISTS
  • Keyword: RENAMEFILE
  • Keyword: DELETEFILE
  • Keyword: MOVEFILEFOLDER
  • Keyword: COPYFILEFOLDER
  • Keyword: FINDFILEPATH
  • Keyword: getPageCount
  • Keyword: COMPAREPDFS
  1. Keywords
  2. Generic Keywords

File and Folder Operations

PreviousMathematical OperationsNextVariable Operations

Last updated 1 year ago

Keyword: BEAUTIFY

Description: This keyword or action instructs Avo Assure Client to beautify the content given in the input as well as the content from the file path given in the input (.xml and .json files) and save the beautified results in the output variable or the file path specified in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

beautify

<XML/JSON_file path OR XML/JSON_content>; XML/JSON

{Variable} OR Direct_File_­Path_with_Extension

  • XML/JSON content

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, {beautiful} variable will contain the beautified format of the JSON content provided.

Keyword: COMPAREFILES

Description: This keyword or action instructs Avo Assure Client to compare the content of the files whose file paths are specified in the input (.txt, .xml, and .json files) and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

compareFiles

<XML/JSON/Txt_file path1>; <XML/JSON/Txt_file path2>; Selective/all (Optional)

{Variable}

  • XML/JSON/Txt file paths

Find the snippet of the keyword below:

In the above example, after the test case debug, {compareFiles} variable will contain the result of removed/added lines between the compared files.

Keyword: COMPAREINPUTS

Description: This keyword or action instructs Avo Assure Client to compare the inputs specified in the input (.xml and .json content) and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

compareInputs

<XML/JSONcontent1>; <XML/JSONcontent2>; Selective/all (Optional)

{Variable}

  • Raw beautified XML/JSON content

  • Static values

  • Dynamic Variables

Note: Outputs for compare files and compareInputs are as follows:

  • JSON and text:

    • - If a line is removed from the first input

    • + If a line is added in the second input

    • ? shows the delta (difference) of the two files

  • .xml: \ tags will be there with the following params:

    • diff:update-attr – XML attribute is updated

    • diff:delete- line deleted

    • diff:insert- line inserted

    • diff:delete-attr- attribute deleted

    • diff:add-attr- XML attribute added

Find the snippet of the keyword below:

In the above example, after the test case debug, {compareInputs} variable will contain the result of removed/added lines between the compared files.

Keyword: NORMALIZEPDF

Description: This keyword or action instructs Avo Assure Client to normalize/flatten a specified special PDF (Adobe LiveForms [that can be opened/launched only via Acrobat Reader DC]).

Keyword

Input Syntax

Output Syntax

Supported Input Formats

normalizePDF

<PDF Reader FilePath>;<Source PDF FilePath>;<Destination Path>;<1(overwrite)/0(normal)>(Optional)

{Variable}

  • Text

  • Static values

  • Dynamic variables

Find the snippet of the keyword below:

In the above example after the test case debug, it normalizes/ flattens the specified special PDF file and places the flattened PDF file in the destination path specified and the execution status “True” / “False” will be stored in the output variable, if provided.

NOTE: The following are the pre-requisites for using this keyword.

  • The system where the ICE is running must have the PDF Reader (Acrobat Reader DC) installed.

  • The screen must not be locked when normalizePDF keyword is used for PDFs.

  • Limitation: This keyword is not supported on Windows 8 systems.

Keyword : GETCONTENT

Description: This keyword or action instructs Avo Assure Client to fetch the content from the file based on line number (.txt and .pdf files) and save the results in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getContent

For Text : <file path>; <line number>(optional)

For PDF : <PDF_Filepath>;<pageNumber>; <start string(optional)>;<EndString(optional)>;<image/all/text(optional)>

{Variable}

  • String

  • Static values

  • Dynamic variables

  • If Start string Is Empty : <PDF_Filepath>; <pageNumber>; <EndString>

Find the snippet of the keyword below:

In the above example, after the test case debug, {result} variable contains value present in line no. 36 of the User_ID text file.

Note:

  1. For text files, if the getContent keyword is used without specifying any line number, then the entire text file content will be fetched.

  2. For PDF files, if the getContent keyword is used without specifying any start string and end string, then the entire PDF file content will be fetched.

  3. As PDF files can contain both images and text, Avo Assure provides users the ability to fetch text data from the images in the PDF file. This can be performed by specifying the type of object in the PDF from which the text should be fetched. To perform such an action, the object type must be specified in the last argument of the getContent keyword’s input. This argument is case insensitive and can take the following values:

    1. Image

    2. All

    3. Text (default)

  4. getContent supports special PDF files (Adobe LiveForms [that can be opened/launched only via Acrobat Reader DC]) after these files are normalized. These special PDF files can be normalized using the ‘normalizePDF’ keyword, and then the normalized PDF can be specified as the input file for the ‘getContent’ keyword. Refer to the ‘normalizePDF’ Keyword in case of this scenario.

  5. Limitation: For PDF files, when input value involves images (image/all), the text fetched from the images will not be in the order of the images in the PDF.

  6. Output formats vary depending on the input specified by the user as follows:

Input Value

Output Format

Sample Output

Image

List of strings (text fetched from images)

[‘This is text fetched from image’, ’Text fetched from another image’]

All

List whose first item is a string (text fetched from PDF) and the second item is a list of strings (text fetched from images)

[‘text fetched from PDF’, [‘Image text’, ‘Another Image text’]]

Text

String (text fetched from PDF)

‘Text fetched from PDF’

Keyword: GETLINENUMBER

Description: This keyword or action instructs Avo Assure Client to fetch the line number of the given content in the specified file and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getLineNumber

For txt: <file path>; <content> For excel: <file path>; <sheetname>;<content>

{Variable}

  • Supported file types: .txt, .xls, .xlsx

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, {result} variable contains the line number of the string “Access” from the Excel sheet. To view/use the returned value, the user should provide the output dynamic variable in the array. For example: {result[0]}, {result[1]}.

Keyword: REPLACECONTENT

Description: This keyword or action instructs Avo Assure Client to replace the content in the file with the given content.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

replaceContent

Txt: <file path>; <content to replace>; <content> Excel: <file path>; <sheetname>; <content to replace>; <content>

{Variable}

  • Supported file types: .txt, .xls, .xlsx

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, in the provided Excel sheet, in place of the string “Access”, “Access Control” would be replaced.

Keyword: VERIFYCONTENT

Description: This keyword or action instructs Avo Assure Client to verify if the specified content is present in the file.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyContent

For Text: <file path>; <content to verify>;<abs>(Optional) Excel: <file path>; <sheetname>; <content to verify>;<abs>(Optional)

{Variable}

  • Supported file types: .txt, .xls, .xlsx

  • Static values

  • Dynamic Variables

NOTE:

  • The comparison for verification is done line by line (if text file) or row by row (if Excel file) with the specified content. If the specified content is to be verified against the entire text file’s/ excel sheet’s content, then the ‘abs’ argument must be specified.

  • Limitation: verifyContent keyword is not supported for content consisting of Semicolon (;), as Semicolon (;) is used as a separator in Avo Assure.

Find the snippet of the keyword below:

In the above example, after the test case debug, if the string “Access Control” is available in the provided Excel sheet.

Keyword: VERIFYFILEIMAGES

Description: This keyword or action instructs Avo Assure Client to compare the two images present in the paths provided in the input field.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyFileImages

<image1path>; <image2path>

{Variable}

  • Supported file types: .png, .jpeg, .jpg, .gif

Find the snippet of the keyword below:

In the above example, after the test case debug, verifies if both the images, “SLKLogo.png” and “Logos_SLK_Purple,” both are same. In the {result} variable, “True” will be returned if both the images are matching else, “False”.

Keyword: IMAGESIMILARITYPERCENTAGE

Description: This keyword or action instructs Avo Assure Client to compare and get the similarity percentage of the two images present in the paths provided in the input field.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

imageSimilarityPercentage

<image1path>; <image2path>

{Variable}

  • Supported file types: .png, .jpeg, .jpg, .gif

Find the snippet of the keyword below:

In the above example, after the test case debug, the images “andyLogo.png” and “download.png” will be compared. In the {result} variable, the similarity percentage of the images compared will be returned.

Keyword: COMPARECONTENT

Description: This keyword or action instructs Avo Assure Client to compare the content of the files word by word.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

compareContent

For Text: <file1path>; <file2path> Excel: <file1path>, <sheet name>; <file2path><sheet name>

{Variable}

  • Supported file types: .txt, .xls, .xlsx

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, verifies if both the file contents are the same. In the {result} variable, “True” will be returned if both the file contents are matching, else “False”.

Keyword: CLEARFILECONTENT

Description: This keyword or action instructs Avo Assure Client to clear all the file contents present in the path provided.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

clearFileContent

For Text: <file location>; <file name> Excel: <file location>, <file name>; <sheet name>

{Variable}

  • Supported file types: .txt, .xls/.xlsx, .xml

  • Static values

  • Dynamic Variables

Note: The file should be closed during this particular keyword debug/execution.

Find the snippet of the keyword below:

In the above example, after the test case debug, it clears the content of the file specified “Clear.xls”.

Keyword: WRITETOFILE

Description: This keyword or action instructs Avo Assure Client to write or append the given content to the specified file.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

writeToFile

Text: <file path>; <content to write>; Newline <file path>; <sheet name>; <Content to write>; Newline

XML/JSON: <file path>; <content to write>

{Variable}

  • Supported file types: .txt, .xls/.xlsx, .xml

  • Static values

  • Dynamic Variables

Note:

  • The file should be closed during this particular keyword debug/execution.

  • Write to file keyword supports an optional extra parameter “Newline”. When this parameter is encountered, the following text is written to a new line. Content to write: There can be multiple dynamic variables.

Find the snippet of the keyword below:

In the above example, after the test case debug, it clears the content of the file specified “Clear.xlsx”.

Keyword: CELLBYCELLCOMPARE

Description: This keyword or action instructs ICE to perform the comparison operation between a pair of Excel files OR CSV files OR an Excel and a CSV file, depending on the files specified by the user in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

cellByCellCompare

<CSV/Excel file path1>;<Sheet name(optional)>;<CSV/Excel file path2>;<Sheet name(optional)>

{Variable}

  • .xls/.xlsx and .csv

Find the snippet of the keyword below:

In the above example, after the test case debug, the comparison results between the 2 files will be written in variable {result}.

Keyword: SELECTIVECELLCOMPARE

Description: This keyword or action instructs Avo Assure client to perform the comparison operation on a selection between a pair of Excel files OR CSV files OR an Excel and a CSV file, depending on the files specified by the user in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectiveCellCompare

<CSV/Excel file path1>; <Sheet name (optional)>; <Cell selection>; <CSV/Excel file path2>; <Sheet name (optional)>; <Cell selection>; <IgnoreCase (optional)>

{Variable}

  • .xls/.xlsx and .csv

Note: If the final argument by the user is specified as ‘ignorecase’ (case insensitive), then the comparison done between the selected cells will be by ignoring the case of the cell values.

Find the snippet of the keyword below:

In the above example, after the test case debug, the comparison results between the selected cells of the 2 files will be written in variable {result}. If {result} consists of a file path with an editable file name, then the comparison results will be written into that editable file.

Keyword: FINDIMAGEINPDF

Description: This keyword or action instructs Avo Assure Client to find the image occurrences within a PDF that match the image provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

findImageInPDF

<PDF_file_path>; <Image_file_path>

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Output format: The output value will be a list containing list of data that provides the find results.

Output Syntax

On ICE Console

[[pgno,count,[listOfAlignments]],[...],[...],...]]

In ICE Logs

[[pgno,count,[listOfAlignments],[listOfMatchPercentage]],[...],[...],...]

Output Data Description

pgno

Specifies the current page number.

count

Specifies the number of times the specified image has been found on the current page

listOfAlignments

Specifies the alignments of each image found on the current page. This is a list of alignment positions which are in accordance with the occurrence index of the images. Alignment positions can be as follows:

  • Top-left and top-right

  • Middle-left and middle-right

  • Bottom-left and bottom-right

listOfMatchPercentage

[This will only be available in logs] Specifies the percentage of match between the image specified and the image found on the PDF page. This is a list of match percentages which are in accordance with the occurrence index of the images.

Find the snippet of the keyword below:

In the above example, after the test case debug, the number of times the image is found within the specified PDF is displayed on the ICEngine Console. The dynamic variable {result} will contain: [[1, 1, [top-right]], [3, 2, [middle-left, bottom-right]]].

Keyword: COMPAREPDFS

Description: This keyword or action instructs Avo Assure Client to compare two PDF files specified by the user and save the comparison results in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

comparePDFs

<PDF_file_path1>;

<PDF_file_path2>;

<selective/all(optional)>;

<pagewise/complete (optional)>

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Note: The comparison can be performed in 4 combinations with the variations/input options as described below:

  • Selective: This specifies that only the differences must be fetched.

  • All: This specified that all the compared content must be fetched. By default (if the user has not specified the option), the ‘All’ option will be considered.

  • Pagewise: This specifies that the comparison must be done pagewise (page 1 of PDF1 must be compared with page 1 of PDF2, page 2 of PDF1 must be compared with page 2 of PDF2, and so on). By default (if the user has not specified the option), the ‘Pagewise’ option will be considered.

  • Complete: This specifies that the comparison must be done with all pages (page 1 of PDF1 must be compared with all pages of PDF2, page 2 of PDF1 must be compared with all pages of PDF2, and so on).

Output format: The output value will be a list containing the list of data that provides the comparison results.

Output Syntax

On ICE Console

[[pageno,error/result,[number of added images,number of deleted images,number of matching images],pageMatched(in case complete matching)],[....]]

In ICE Logs

[[pageno,error/result,[number of added images,number of deleted images,number of matching images],pageMatched(in case complete matching), matchPercentage],[...]]

Output Data Description

pageno

Specifies the current page number.

error/result

Specifies the comparison result within the pages, if any.

Changes are depicted as follows:

  • Addition is depicted as ||+++<content>+++||

  • Deletion is depicted as ||---<content>---||

number of added images

Specifies the number of added images in the current page on comparison with the compared page.

number of deleted images

Specifies the number of deleted images in the current page on comparison with the compared page.

number of matching images

Specifies the number of same images in the current page on comparison with the compared page.

pageMatched

Specifies the page number of the ‘compared with’ page. This is specified only in the case of complete matching.

matchPercentage

[This will only be available in logs] Specifies the percentage of match between the pages. This is a list of match percentages which are in accordance with the PDF pages compared.

Find the snippet of the keyword below:

In the above example, after the test case debug, the PDFs are compared with each other based on the method (selective/all + pagewise/complete) specified by the user, and the comparison results are saved in the output variable {result}.

Keyword: SAVEFILE

Description: This keyword or action instructs Avo Assure Client to save the file, which opens in a new tab, with the file name provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

saveFile

<file_path>; <file_name>

{Variable}

  • Text

  • Static Values

  • Dynamic Variables

Note:

  • This keyword is applicable only for web app type.

  • If any of the files, either .txt or .pdf or .xml, opens in a new tab, then the user can save that file in local.

  • Before the saveFile step, the user needs to provide the sendFunctionKeys step to send the function key to save the file, which is opened in a new tab. (Send function keys differ from browser to browser. For example, for IE: CTRL+SHIFT+S and for Chrome: CTRL+S). The user has to provide proper sendFunctionKeys.

  • There is no need to provide the Extn in the input. ICE will save the file with extn it has downloaded

Find the snippet of the keyword below:

In the above example, after the test case debug, if the “Student.txt” file will be saved in the D drive, “True” will be stored in {result} variable else “False”.

Keyword: CREATEFOLDER

Description: This keyword or action instructs Avo Assure Client to create a new folder in the specified path with the name provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

createFolder

<folder_path>; <folder_name>

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Note: The given path should already exist.

Find the snippet of the keyword below:

In the above example, after the test case debug, a new folder, “TestFolder” will be created in the given path “D:\.”

Keyword: VERIFYFOLDEREXISTS

Description: This keyword or action instructs Avo Assure Client to verify if the folder exists or not in the specified path.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyFolderExists

<folder_path>; <folder_name>

{Variable}

  • Static values

  • Dynamic Variables

Note: The given path should already exist.

Find the snippet of the keyword below:

In the above example, after the test case debug, if the folder exists, “True” will be stored in {result} variable, else “False”.

Keyword: RENAMEFOLDER

Description: This keyword or action instructs Avo Assure Client to rename the folder with the new folder name specified by the user.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

renameFolder

<folder_path>; <folder_name-old>; <folder_name-new>

{Variable}

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the folder named “TestFolder” will be renamed to “Softwaretest”.

Keyword: DELETEFOLDER

Description: This keyword or action instructs Avo Assure Client to delete the folder with the folder path provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

deleteFolder

<folder_path>;<folder_name-old>; 1<indicates force delete- optional>

{Variable}

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the folder named “Softwaretest” will be deleted and the {deleteResult} variable will hold the value “True”.

Keyword: CREATEFILE

Description: This keyword or action instructs Avo Assure Client to create a new file in the specified path, with the name and type provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

createFile

<file_path>; <file_name.ext>

{Variable}

  • .txt. .xlsx, .xls, .pdf, .gif, .doc, .xml

  • Static values

  • Dynamic Variables

Note: All the folders specified in the path should already exist.

Find the snippet of the keyword below:

In the above example, after the test case debug, a new file “Test.txt” will be created in the given path “D:\Testing”.

Keyword: VERIFYFILEEXISTS

Description: This keyword or action instructs Avo Assure Client to verify whether the file exists in the specified path.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyFileExists

<file_path>; <file_name.ext>

{Variable}

  • All files

  • Static values

  • Dynamic Variables

Note: All the folders specified in the path should already exist.

Find the snippet of the keyword below:

In the above example, after the test case debug, if the file exists, “True” will be stored in {result} variable, else “False”.

Keyword: RENAMEFILE

Description: This keyword or action instructs Avo Assure Client to rename the file with the new file name specified by the user.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

renameFile

<file_path>; <file_name-old.ext>; <file_name-new.ext>

{Variable}

  • .txt. .xlsx, .xls, .pdf, .gif, .doc, .xml

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the file named “Test.txt” will be renamed to “Softwaretest.txt”.

Keyword: DELETEFILE

Description: This keyword or action instructs Avo Assure Client to delete the file with the file name provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

deleteFile

<file_path>; <file_name.ext>

{Variable}

  • .txt. .xlsx, .xls, .pdf, .gif, .doc, .xml

  • Static values

  • Dynamic Variables

Note: The file should be closed during this particular keyword debug/execution.

Find the snippet of the keyword below:

In the above example, after the test case debug, the folder named “Excel123.xlsx” will be deleted, and the {deleteResult} variable will hold the value “True”.

Keyword: MOVEFILEFOLDER

Description: This keyword or action can be used by instructing Avo Assure Client to move a file or folder to the specified destination folder specified by the user in the input. It also can be used to save the file in a different possible format or even compress a folder.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

moveFileFolder

<Source_Path>;<Destination_Path>;<1(overwrite)/ 0(normal)>(Optional); <extension (ex:.csv)>(optional)

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the file name ‘Test.txt’ will be moved under the ‘Softwaretest’ folder.

Note: The folder to be moved should NOT end with "\".

Keyword: COPYFILEFOLDER

Description: This keyword or action can be used by instructing Avo Assure Client to copy a file or folder to the specified destination folder specified by the user in the input. It also can be used to save the file in a different possible format or even compress a folder.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

copyFileFolder

<Source_Path>;<Destination_Path>;<1(overwrite)/0(normal)>(Optional);<extension (ex:.csv)>(optional)

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the file name ‘Test.txt’ will be copied under the ‘Softwaretest’ folder.

Note: The folder to be moved should NOT end with "\".

Keyword: FINDFILEPATH

Description: This keyword or action instructs Avo Assure Client to search for a file within the path specified by the user in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

findFilePath

<file_name>; <folder_path>

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the file location is fetched if the file is found. Otherwise, ‘False’ will be returned in the output variable.

Keyword: getPageCount

Description: This keyword or action fetches the number of pages from a pdf file.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getPageCount

<filepath>; <filename>

(Optional)

  • Text

  • Static values

  • Dynamic Variables

Note: This keyword only supports PDF format files.

Find the snippet of the keyword below:

In the above example, after the test case debug, the operation will fetch the total number of pages available in PDF files.

Limitations:

  • The getPageCount keyword is not supported for ".xls/.docx" files. In addition, this keyword will work only for “Doc’s file” in Windows OS.

Keyword: COMPAREPDFS

Description: This keyword or action instructs Avo Assure Client to compare two PDF files specified by the user and save the comparison results in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

comparePDFs

<PDF_file_path1>;

<PDF_file_path2>;

<selective/all(optional)>;

<pagewise/complete (optional)>

{Variable}

  • Text

  • Static values

  • Dynamic Variables

Find the snippet of the keyword below: