LogoLogo
  • About SimplifyQA
  • Get Started with SimplifyQA
    • Agile & Non-Agile Framework
    • OS Support
    • SimplifyQA Hosting
      • On-premise Installation Guide
        • Pre-requisites
        • Installation Guide
      • Support and Resources
      • Training and Onboarding
    • Explore SimplifyQA for your Application Lifecycle Management
  • SimplifyQA Installation & Setup
    • Setup QAWizard
    • Register QAWizard
    • Setup Android Device
      • How to enable settings in android device?
      • How to register android device?
      • Setup emulators on Android Studio for automation in SimplifyQA
    • Setup iOS Device
      • How to setup iOS device in Apple Developer Account?
      • How to register iOS device?
  • Get to know your Workspace
    • Blueprint of SimplifyQA
    • Key Terminologies
    • Search/Global Search
      • How to use global search?
      • How to use advance search?
      • How to use column sort?
      • How to use column filters?
      • Add or remove columns
    • Rich Text Editor
    • Import & Export
    • Add Attachments
    • Add Linkages
    • Add Comments
    • Manage Cards in board view
    • Configure Watchlist
    • Track Edit History
    • Hierarchy Tree
  • Admin Controls & Configurations
    • Manage Projects & Users
      • Create Project and Invite Users
      • Project Settings
        • Create and Manage Custom Fields
      • Grant Admin Privilege to User
      • Invite/Add Users to Team
      • User Directory and Access Control
      • Configure Page Layout
      • Manage Roles and Privileges
      • Configure Auto-logging of Defects
    • Configure your clients
    • Password settings
  • Release & Sprints
    • Introduction to Releases
    • Create & Manage Release & Sprint
    • Start & Close a Sprint
  • Create and Manage your Requirements
    • Introduction to Requirement Management
    • Create & Manage Epic
    • Create & Manage Features
    • Create & Manage User Stories
  • Introduction to Test Management in SimplifyQA
    • Create a Manual Test Case in SimplifyQA
    • Create an Automation Test Case in SimplifyQA
    • Learn API Testing in SimplifyQA
      • Create an API Test Case in SimplifyQA
      • Quick Test the API
      • Validating API Responses
      • Understanding API Parameterisation
      • Save API Response Data
      • Achieve Data flow for E2E Testing
    • Create Hybrid Test Case in SimplifyQA
    • Leverage Re-usability in your Tests
    • Organise your Test Cases
    • Linking a Test Case to User Story
    • Linking a Test Case to Defect
    • Version Control your Test Case
    • Create a Copy of your Test Case
    • Copy Test Case to different Project
    • Conditional Statements
      • Decision Making Statement
      • Looping Statement
      • BREAK & CONTINUE Statement
    • Supported Actions
    • Utilising Mobile Inspector in SimplifyQA
  • Introduction to Script-less Recording of Test Case
    • Record a Web Test Case in SimplifyQA
    • Record an Android Test Case in SimplifyQA
      • Record an Android Test Case
    • Record Functions in SimplifyQA
    • Understand Object Recognition Mechanism & Self Healing in SimplifyQA
  • Test Data Management
    • Work with the Formulas to Optimise Test Data
    • Import and Export Test Data Sets
  • Introduction to Object Repository
    • Capture Objects for your Tests
    • Organise your Test Objects
    • Parameterise your Test Object Properties
  • Introduction to Parameters
    • Various Types of Parameters
    • Create and Utilise Parameters in your Test Case
    • Understanding Runtime Parameters
  • Defect Management
  • Marketplace
    • Integration with Project Management Tools
      • Integrating SimplifyQA with Jira
        • Configure Web-hooks
        • SimplifyQA Setup for Integration
          • Setup your Account for Jira Integration
          • Configuration in SimplifyQA Admin
          • Steps to Generate a Jira API Token
          • Steps to create SimplifyQA token
          • Steps to get Jira Account ID
          • Synchronisation Functionality Between SimplifyQA and Jira
          • Analyse Logs for Data Synchronisation
        • Mapping Fields for Issue Types
        • Viewing SimplifyQA Test Cases in Jira
  • Legal Documents
    • End-User License Agreement
Powered by GitBook
On this page
  • Pre-Requisites
  • How to Record a Function?
  1. Introduction to Script-less Recording of Test Case

Record Functions in SimplifyQA

PreviousRecord an Android Test CaseNextUnderstand Object Recognition Mechanism & Self Healing in SimplifyQA

Last updated 1 month ago

Reusable functions are modular units of code that can be defined once and used multiple times within your automation scripts, improving code structure and reducing redundancy.

In this section we will guide you through the process of recording a function which enhances code organization and maintainability.

Pre-Requisites

  • A clear understanding of the software feature or functionality you're testing.

  • Access to the project for which you want to create automation test case.

  • SimplifyQA Wizard needs to be installed and running. Learn how to setup Wizard here .

  • Before recording, identify the specific actions or sequences of steps that you want to reuse.

How to Record a Function?

  • Launch the Recorder: Locate the recorder icon and select the required technology and select function option to record the function.

  • Define the Function Name: Provide the name of the function and mention the URL of the application under test.

  • Start Recording: Click on start recording. Begin interacting with the application you want to test. The recorder will capture your actions, including clicks, keystrokes, navigation, etc.

  • Stop Recording: Navigate back to SimplifyQA once you've completed the desired actions, stop the recording.

  • Review the Test Steps: Review the recorded steps. Object and parameters names would be automatically captured with appropriate names. Data provided during the recording would also be captured in test data.

  • Define Function Details:

    • Specify the function name and module and save your function. Learn how to organise and manage functions here .

    • Pre-requisites: Any setup or conditions required before recording the function, you can mention them in the form of checklist.

Benefits of Using Reusable Functions

  • Improved Code Organisation: Functions help structure your scripts and make them easier to understand and maintain.

  • Enhanced Maintainability: When making changes to a common set of actions, you only need to update the function, reducing the risk of errors.

  • Increased Efficiency: Reusing functions eliminates the need to record the same actions multiple times, saving time and effort.

  • Better Readability: Functions provide a more concise and readable representation of your test cases.

Additional Tips

  • Function Naming: Choose descriptive names for your functions to clearly indicate their purpose.

  • Parameterisation: Use parameters to make your functions more flexible and adaptable to different scenarios.

  • Error Handling: Implement error handling mechanisms within your functions to gracefully handle unexpected situations.

Setup QAWIzard
Organise your Test Cases
/Functions