robotframework / robotframework/robotframework

`Run Keyword` without logging as new Keyword

Open
#3,640 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11.9k
Forks
2.6k
Avg merge
1d 18h
Merged PRs (30d)
10

Description

Run Keyword is a super handy and nice solution to execute keyword that are not part of the current library.

Example: Run a Keyword in failure like in SeleniumLibrary or Browser, or own WUKS implementation.

The only downside is, that it is not possible to NOT getting the called keyword as new Keyword-Layer in docs.

The feature requested is, that there could be way to disable Keyword beeing put to logs, when called by Run Keyword.
Logging (INFO and DEBUG, etc) should just be in the context of the calling keyword.

For me it would be good enough if there would be a python way to do it. I wouldn't need this option within Robot code.

Cheers
René

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Run Keyword execution path and how it creates keyword layers and emits logs. Check the existing tests around Run Keyword and logging behavior if available. Done means a Python-level option can suppress the called keyword layer while keeping logging in the calling keyword's context.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.