Robotframework 需要关于在Robot框架中传递参数和执行多个测试用例的帮助吗

Robotframework 需要关于在Robot框架中传递参数和执行多个测试用例的帮助吗,robotframework,selenium2library,Robotframework,Selenium2library,我的意图是通过在关键字中给出多个URL并将其作为测试用例调用来传递多个URL作为参数。它应该是多个测试用例的一部分。请帮我更正代码 *** settings *** Library Selenium2Library Test Template My Logging *** Variables *** ${Google} https://www.google.co.in/ ${Facebook} https://www.faceb

我的意图是通过在关键字中给出多个URL并将其作为测试用例调用来传递多个URL作为参数。它应该是多个测试用例的一部分。请帮我更正代码

*** settings ***
Library  Selenium2Library
Test Template     My Logging


*** Variables ***   
${Google}              https://www.google.co.in/
${Facebook}            https://www.facebook.com/



*** Test Cases *** 
Login to Google     
   My Logging     ${Google}
   My Logging     ${Facebook}

Login to Google website
    Login to Google



*** Keywords ***
My Logging
  [Arguments]     ${url}
  Open Browser     ${url}     Chrome
  Capture Page Screenshot
  Close Browser

Login to google
    Open Browser     ${Google}      Chrome
    Close Browser
提示错误
您不能将
测试模板
用于非数据驱动测试。删除此行:

Test Template     My Logging

1.谢谢你的答复。。删除测试模板后工作良好
Test Template     My Logging