04-Robot Framework 之 BuiltIn库(2)

来源:互联网 发布:婚礼倒计时软件 编辑:程序博客网 时间:2024/05/22 13:37

25、Keyword Should Exist,除非给定的关键字存在,不然就报错


判断log关键字是否存在


26、Length Should Be,长度应该为多少


判断item的长度是否为多少


27、Log,打印日志信息,后面只能接一条message

28、Log Many,后面可以接多条message

29、Log To Console,打印到console控制台

30、Log Variables,打印当前环境变量



31、No Operation

32、Pass Execution

33、Pass Execution If

34、Regexp Escape

35、Reload Library

36、Remove Tags

37、Repeat Keyword

38、Replace Variables

39、Return From Keyword

40、Return From Keyword If

41、Run Keyword

42、Run Keyword And Continue On Failure

43、Run Keyword And Expect Error

44、Run Keyword And Ignore Error

45、Run Keyword And Return

46、Run Keyword And Return If

47、Run Keyword And Return Status

48、Run Keyword If

49、Run Keyword If All Critical Tests Passed

50、Run Keyword If All Tests Pased

51、Run Keyword If Any Critical Tests Failed

52、Run Keyword If Any Tests Failed

53、Run Keyword If Test Failed

54、Run Keyword If Test Passed

55、Run Keyword If Timeout Occurred

56、Run Keyword Unless

57、Run Keyword

58、Set Global Variable

59、Set Library Search Order

60、Set Log Level

61、Set Suite Documentation

62、Set Suite Metadata

63、Set Suite Variable

64、Set Tags

65、Set Test Documentation

66、Set Test Message

67、Set Test Variable

68、Set Test Variable If

69、Should Be Empty,应该为空

70、Should Be Equal,应该等于

71、Should Be Equal As Integers,应该是一个整型且相等

72、Should Be Equal As Numbers,应该是一个字符型,且相等

73、Should Be Equal As Strings,应该是string,且相等

74、Should Be True,应该为真

75、Should Contain,应该包含

76、Should Contain Any,包含其中一个

77、Should Contain X Times,包含几次

78、Should End With,应该以什么结尾

79、Should Match,应该匹配

80、Should Match Regexp,以正则方式匹配

81、Should Not Be Empty,应该不为空

82、Should Not Be Equal

83、Should Not Be Equal As Integers

84、Should Not Be Equal As Numbers

85、Should Not Be Equal As Strings

86、Should Not Be True

87、Should Not Contain

88、Should Not Contain Any

89、Should Not End With

90、Should Not Match

91、Should Not Match Regexp

92、Should Not Start With

93、Should Start With,应该以什么开头



94、Sleep

sleep 3,单位,秒


95、Variable Should Exist,变量应该存在

96、Variable Should Not Exist,变量不存在

97、Wait Until Keyword Succeeds

98、Continue For Loop

99、Continue For Loop If

100、Exit For Loop

101、Exit For Loop If

原创粉丝点击