我想将一个类的对象传递给另一个类。 下面是我尝试过的代码。
*** Settings ***
Documentation
Library helper.confHelp.ConfHelper ${confJson}
Library demoHelp.demo.py
*** Variables ***
${confJson} conf/help.json
*** Test Cases ***
[Documentation]
[Tag]
${configObj} Get Library Instance helper.confHelp.ConfHelper
demoHelp.demo.Demo ${configObj} # this is the
another class and pass the object of ConfHelper
Log To Console Start
methodOfDemoClass