Skip to content

Duplicate Keywords when using custom name for library #5106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Noordsestern opened this issue Apr 8, 2024 · 1 comment
Open

Duplicate Keywords when using custom name for library #5106

Noordsestern opened this issue Apr 8, 2024 · 1 comment

Comments

@Noordsestern
Copy link
Member

Noordsestern commented Apr 8, 2024

Using RF 7.0

Following example

*** Settings ***
Library    EggplantLibrary    AS   eggplant1     # contains keyword 'Connect SUT'

*** Test Cases ***
Demo
    Connect SUT

Results in error message:

Multiple keywords:
EgplantLibrary.Connect SUT
eggplant1.Connect SUT

I am not sure if this is a RF or eggplantlib issue.

Is it possible that the library instance exists somehow twice when using custom names?

@pekkaklarck
Copy link
Member

Are you sure you don't have EgplantLibrary imported somewhere else, for example in a resource file, without an alias?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants