How to use show_keyword_call_banner?

*** Settings ***
Library Browser enable_presenter_mode=False show_keyword_call_banner=True
Library …/Keywords/Custom/Custom.py
Resource …/PageObject/PageLibrary.resource
Resource …/Keywords/Utils.resource
Suite Setup LogIn
Test Teardown Capture Screenshot on Failure
*** Test Cases ***
Test_01 Sales Menu

I tried this above but isnt it expected to show keyword on the bottom of the browser?

From what it says in the documentation:

show_keyword_call_banner

| If set to True, will show a banner with the keyword name and arguments before the keyword is executed at the bottom of the page. If set to False, will not show the banner. If set to None, which is the default, will show the banner only if the presenter mode is enabled. Get Page Source and Take Screenshot will not show the banner, because that could negatively affect your test cases/tasks. This feature may be super helpful when you are debugging your tests and using tracing from New Context or Video recording features. |

this part here:
will show the banner only if the presenter mode is enabled.

You have it set to False in your snippet, which could explain why? Personally, I never used the argument or the actual keyword.

Thanks

1 Like