如何将枚举值从机器人测试用例传递到后端Java函数或方法?

时间:2018-11-18 13:11:30

标签: java robotframework jython

机器人测试:

find Venue Mappers With Aps And Wlans          ${userLoginHandler}     ${1}        NetworkType.OPEN_NETWORK

Java代码:

public static ArrayList<VenueMapper> findVenueMappersWithApsAndWlans(UserLoginHandler userLoginHandler, int numberOfAPs, NetworkType networkType) 

我收到此错误消息:无法将第三个参数强制转换为infra.model.enums.NetworkType

那么如何从Robot Framework Suite文件中传递枚举值?

0 个答案:

没有答案