vendredi 23 novembre 2018

Abstract Keywords in Robot Framework

is it possible to implement abstract keywords, so that you can avoid duplicated "code" and also avoid technical arguments in the actual test implementation? It's also very important to me, that the abstract Keyword is not usable in any actual test implementation.

What I want to have is something like that:

*** Abstract Keywords ***
Open Menu Item
    [Arguments]     ${menu}
    Click Element    ${menu}

*** Keywords ***
Open Home
    Open Menu Item    Home

Open Setup
    Open Menu Item    Setup

Does Robot Framework support abstraction?

Aucun commentaire:

Enregistrer un commentaire