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
    • Register your Machine
    • 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 and 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
      • Learn how to import/export Test Cases
      • Learn how to import/export Test Data
    • Add Attachments
    • Add Linkages
    • Add Comments
    • Manage Cards in board view
    • Configure Watchlist
    • Track Edit History
    • Hierarchy Tree
  • Admin Controls & Configurations
    • Manage Projects & Users
      • Introduction to Projects in SimplifyQA
      • Create Project and Invite Users
      • Project Settings
        • Create and Manage Custom Fields
        • Manage Roles and Privileges
        • Configure Auto-logging of Defects
      • Grant Admin Privilege to User
      • Invite/Add Users to Team
      • User Directory and Access Control
      • Configure Page Layout
    • 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
      • Generate using AI Genius
  • 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 a Database Test Case in SimplifyQA
    • 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 iOS Test Case in SimplifyQA
    • Record Functions in SimplifyQA
    • Understand Object Recognition Mechanism & Self Healing in SimplifyQA
    • Low Level Recording
  • Test Data Management
    • Generate dynamic data using 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
  • Code Editor
    • Using Git Commands
    • Configuring Privileges for Sync Actions
    • How to Sync Actions using Code Editor?
    • How to use AI to write code?
  • Introduction to Test Execution in SimplifyQA
    • Create an Execution Plan
    • Create a Suite
      • Execute your Test Suite and View Suite Reports
      • Execute your Suite on Cloud (Serial/Parallel)
    • Schedule your Execution
    • Create Pipelines
  • 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
    • Integrating with CI/CD Tools
      • Gitlab
      • Azure Devops
      • Concourse
    • Integrating with Cloud Platforms
      • VM Based
  • Legal Documents
    • End-User License Agreement
Powered by GitBook
On this page
  • Prerequisites
  • Syncing Global and Project-Level Actions in SimplifyQA
  • Sync the Custom Method from SimplifyQA
  • Sync the Custom Method from Code Editor
  • Frequently Asked Questions (FAQs)
  1. Code Editor

How to Sync Actions using Code Editor?

PreviousConfiguring Privileges for Sync ActionsNextHow to use AI to write code?

Last updated 19 days ago

To ensure your custom method becomes available for use in SimplifyQA test cases, you need to sync the action after writing your code.

Prerequisites

  1. You must have

  2. The Code Editor should be properly installed and set up, and the user should be working with annotated methods using @SyncAction.

Syncing Global and Project-Level Actions in SimplifyQA

  • Global (Customer-Level) Actions: These are reusable actions that are available across all projects under a single customer account.

  • Project-Level Actions: These are specific to an individual project and are not accessible across other projects. They are useful for project-specific logic or customizations.

The user can choose to sync the custom method either from the or from the

Sync the Custom Method from SimplifyQA

  1. Use the @SyncAction Annotation While writing your custom method in the Code Editor, ensure the method is annotated with @SyncAction. This annotation helps SimplifyQA recognise and register the method as an action that can be reused in test steps.

  2. The syntax for Sync annotation should be as follows:

@SyncAction(uniqueId = "[unique id]",groupName = "Generic",objectTemplate = @ObjectTemplate(name = TechnologyType.GENERIC,description = "This action belongs to GENERIC"))

Below is the explanation of sync annotation,

  • uniqueId: A unique identifier for the action to avoid conflicts during syncing.

  • groupName: The category under which the custom action will appear in test cases in SimplifyQA.

  • @ObjectTemplate: Defines the platform type and description for the custom action.

  1. Use build.bat to compile the code and navigate to SimplifyQA.

    • Go to Profile > Settings > Configurations

  • Navigate to 'Actions' tab and locate 'Sync' button.

  • Click Sync Action.

  • SimplifyQA will fetch the latest methods annotated with @SyncAction from the code editor. User can accept or reject the sync actions from here.

  • Now your custom method is available to use in any test case

Sync the Custom Method from Code Editor

  1. Ensure the method is correctly annotated using @SyncAction.

  2. The code must be built successfully using build.bat (for Windows) or ./macBuild.sh (for macOS).

  3. Post which run the command : sync.bat (for Windows) or macsync.sh (for macOS).

  4. This will sync all methods that include the @SyncAction annotation into SimplifyQA, making them available for use in test cases.

Syncing actions ensures that custom methods written in the Code Editor are recognized by SimplifyQA and become available for use in test automation. By using the @SyncAction annotation and regularly syncing after publishing, teams can extend their testing capabilities with reusable, project-specific logic in a structured and efficient way.

Frequently Asked Questions (FAQs)

What happens if I forget the @SyncAction annotation?

If you do not include @SyncAction, the method will not be available in SimplifyQA’s action list even if the code is pushed and published.

How often should I sync actions?

You should sync actions every time you write a new custom methods or modify existing ones to make them available in SimplifyQA.

Can multiple custom methods be synced at once?

Yes, all methods annotated with @SyncAction will be synced together when you run the Sync Action from SimplifyQA.

Do I need admin access to sync actions?

No, syncing actions can be done by users with appropriate privilege. However, configuring the Code Editor requires admin privileges.

privilege to sync the actions
SimplifyQA platform
SimplifyQA Code Editor.