Skip to content

unknown keyword: robot when using karate-core:2.0.5 with karate-robot:1.5.2 #2823

@e-dsouza

Description

@e-dsouza

Description

The robot keyword is not recognized by the Karate engine when using the latest 2.0.5 core dependencies alongside the 1.5.2 robot dependency. This results in an unknown keyword: robot error during test execution.

Steps to Reproduce

1.Create a project with the following Maven/Gradle dependencies:
​io.karatelabs:karate-core:2.0.5
​io.karatelabs:karate-robot:1.5.2

2.Attempt to run a feature file containing:

  • robot { window: 'Calculator', fork: 'calc', highlight: true, highlightDuration: 500 }

3.Observe the error: unknown keyword: robot

Expected Behavior

The karate-robot library (v1.5.2) expected to be compatible with or registered by the karate-core (v2.0.5) engine, allowing for native UI automation keywords to be recognized.
Environment Information:
Karate Version: 2.0.5 (Core) / 1.5.2 (Robot)
JDK Version: 21
OS: Windows 11

Actual Behavior

unknown keyword: robot error

Karate Version

2.05

Java Version

21

Operating System

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions