0

我在 Eclipse 中使用下面的自动化脚本。相同的脚本之前运行正常,但现在我得到了新系统,我在这里导入了它。我收到两个错误。首先是我的睡眠脚本中的未知关键字错误,登录到控制台并获取当前日期。代码如下。

***settings***
Library  Selenium2Library          
Library  DateTime
Library  BuiltIn
Resource    ../Variables.robot
Test Teardown  Close all browsers  

***keywords***
     
  

*** Test Cases ***
TC ID : 1
    [Documentation]  To verify: "Filters  functionality is working"
    ${CurrentDate}   Get Current Date  result_format=%m%d%Y%H%M%S
    Set Screenshot Directory    ${ScreenShotFolder}/${CurrentDate}
    
 sleep  2 

log to console   Total Rows= ${rows}

另一个错误在 red.xml 中。 在此处输入图像描述

谢谢!

4

0 回答 0