1. 创建一个资源文件,命名为myresource.robot
*** Settings ***
*** Variables ***
*** Keywords ***
myResourceFunction
Log To Console "This is from Resource file"
2. 导入测试用例
*** Settings ***
# 和导入一个库相同
Resource myresource.txt
*** Variables ***
*** Test Cases ***
HelloRobot
[Documentation] Hello Rob...