B
B
bobs322020-06-26 16:20:00
Software testing
bobs32, 2020-06-26 16:20:00

How to avoid No keyword with name error in Robot Framework?

When running the code:

*** Settings ***

Library  ../lib/Api.py

*** Keywords ***

Create New Project and Verify it was created

    ${Project} = create project  project10
    log ${Project}
    ${create_project} = get project
    log ${create_project}
    should be equal as strings  ${Employee['id']}   ${Created_Employee['id']}


an error comes out:
No keyword with name '${Project} = create project' found.


How to avoid it?
The path to the library is correct.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
applekate, 2020-11-10
@bobs32

Indents not respected. Correct like this:
${Project}= create project project10

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question