intellibot icon indicating copy to clipboard operation
intellibot copied to clipboard

Parameters in [Template] are marked as keyword definition not found

Open outcatcher opened this issue 9 years ago • 3 comments

In code like [Template] Keyword Argument1 Argument2

First argument is marked as "Keyword definition not found" inc_temp

IDE: PyCharm v.5.0.1 Community Edition Plugin: IntelliBot v.0.6.8

outcatcher avatar Dec 09 '15 17:12 outcatcher

I do not think I handle templates at all yet :). Do you have a more complete example of a template?

mtrubs avatar Dec 09 '15 18:12 mtrubs

There is a documentation for test templates in Robot Framework guide, I don't think I can provide example better than there: http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#test-templates

outcatcher avatar Dec 10 '15 08:12 outcatcher

an example:

*** Settings ***

*** Test Cases ***
Test test
    [Template]  Some ${test1} and ${test2}
    1  2
    3  4
    5  6

*** Keywords ***
Some ${test1} and ${test2}
    Log to console  ${test1} and ${test2}

launch with pybot --test "Test test" ./

aberzan avatar Aug 28 '16 13:08 aberzan