• Documentation
  • Tutorials
  • Case studies
  • Blogs
  • Product

What's on this Page

  • What is a Keyword?
  • Keyword types
    • Language-based Keyword
    • Composite Keywords
    • Plugin-based Keywords
    • Local functions
  • step
  • User guide
  • Keywords
Categories: USER GUIDE KEYWORDS
This article references one of our previous releases, click here to go to our latest version instead.

Keywords

This section will focus on registering and using already-developed keywords. To learn how to develop a keyword, check the Developer guide. overview.

What is a Keyword?

Keywords in Step are the fundamental building blocks used to implement automation logic. They establish the mapping between specific business logic components within an application and their corresponding simulation routines. Keywords can represent fully automated flows or finer-grained actions, such as user interactions or service calls. Employing finer granularity is generally preferred as it enhances reusability across multiple business flows through Plans.

Keywords receive inputs and generate corresponding outputs. These outputs can then serve as input entities for other Keywords, facilitating a seamless transfer of values. By defining data or objects in the input and output fields, Keywords enable fluid data flow, reusability, and assertion functionality.

Keyword types

Keywords can be of different types. Type is used to specify details about the routine that the keyword implements. For example, the language utilized for developing the routine or the sort of plugin used. The following are types of Keyword available:

Language-based Keyword

The most commonly used keywords are based on developers’ custom code. These language-based keyword types allow specifying the programming language used for developing the routines. Some examples include:

  • Script: These Keywords execute on Java agents, enabling you to write them in:
    • Java using the keyword API.
    • Groovy directly in the Step Web UI. You might find some Groovy code samples that can be wrapped into Keywords in our library.
    • Javascript can be written directly on the Step Web UI.
  • NodeJS: This type of Keywords are executed on NodeJS agents. Check the related plugin documentation for more details.
  • .Net: This type of keywords are C# based functions and are executed on .NET agents. The detailed documentation is available under the corresponding plugin section and is illustrated in the .Net tutorials: AutoIt with step.
The .Net agent is only available with the enterprise editions of Step.

Composite Keywords

Composite keywords are essential for creating modular and organized execution suites. They act as logical keywords and contain references to other keywords based on the same functionality as a plan. Some benefits of using composite keywords include:

  • Alias for Keyword Groups: Composite keywords provide an alias for groups of keywords that are frequently executed together. This simplifies the execution process and improves code maintainability.
  • Encapsulation of Specific Cases: Composite keywords allow wrapping a keyword with a specific set of inputs and output checks, isolating a specific case into its own keyword.

Composite keywords also have their own control, called Return, which enables outputting values similar to other keyword types.

Plugin-based Keywords

Step automation integrates with other products through plugin-based keywords. These keywords are specifically defined by Step plugins and enable seamless integration with external tools. Some examples include:

  • PDF Test: A keyword designed for comparing PDF documents. See our PDF and Image compare plugin guide.
  • SoapUI: A keyword for executing a SoapUI project. See our SoapUI plugin guide.
  • JMeter: A keyword used to execute a JMeter Test Plan. See JMeter plugin guide.
  • QF-Test: A keyword representing the execution of a QF-Test test suite.
  • Oryon: A keyword representing the execution of an Oryon keyword.
  • Cypress: A keyword for running Cypress commands. See the Cypress plugin guide.
  • Astra: Enables fast and intuitive automation of web application using a no-code approach. See the Astra plugin guide.
  • SikuliX: Open source tool for UI automation. See the SikuliX plugin guide.
  • Grafana K6: Open source tool for Performance testing. See the Grafana K6 guide.
  • Silk Performer: A Load testing tool by openText. See the Silk Performer guide.

To access a comprehensive list of all the supported plugins, please refer to the Plugin section.

Local functions

Step automation includes a set of default local functions that can be used as keywords out of the box. These local functions include:

  • PDF_compare: A generic keyword for comparing PDF documents.
  • EBC_Put, EBC_Peek, and EBC_Get**: Basic Keywords for putting and retrieving events from the Event Broker (available for enterprise users with a dedicated license).
  • InsertMeasurement: A keyword is used for inserting arbitrary transaction measurements from a Plan instead of from the keyword’s code.

These local functions provide convenient and commonly used functionalities that can be utilized within automation Plans.

By leveraging keywords in Step automation, developers can enhance reusability, maintainability, and modularity in their automation projects.

See Also

  • Event Broker Monitor
  • Controls
  • Automation Package descriptor
  • Automation Packages
  • Event Broker API
  • Home
  • Whats new?
  • Admin guide
  • SaaS guide
  • User guide
    • Keywords
      • Deployment
      • Configuration
    • Plans
    • Executions
    • Alerting rules
    • Incidents
    • Notifications
    • Parameters
    • Analytics
    • Analytics (beta)
    • Monitoring
    • Schedules
    • Event Broker Monitor
    • Import/Export entities
    • User account
    • Versioning
  • Developer guide
  • DevOps
  • Plugins
  • Libraries
Step Logo
    • Documentation
    • Tutorials
    • Case studies
    • Blogs
    • Product
    • Home
    • Whats new?
    • Admin guide
    • SaaS guide
    • User guide
      • Keywords
        • Deployment
        • Configuration
      • Plans
      • Executions
      • Alerting rules
      • Incidents
      • Notifications
      • Parameters
      • Analytics
      • Analytics (beta)
      • Monitoring
      • Schedules
      • Event Broker Monitor
      • Import/Export entities
      • User account
      • Versioning
    • Developer guide
    • DevOps
    • Plugins
    • Libraries