fix(UI 自动化): 修复后端参数校验,前端不输入参数导致的一系列问题

--bug=1012513 --user=张大海 【UI 测试】后端校验 ui 参数 https://www.tapd.cn/55049933/s/1179389
This commit is contained in:
zhangdahai112 2022-06-12 03:54:05 +08:00 committed by jianxing
parent 8010e2abbd
commit f3e8192b0c
3 changed files with 152 additions and 2 deletions

View File

@ -322,4 +322,54 @@ error_code_is_unique=Error code is not unique
no_version_exists=version not exists
jira_auth_error=Account name or password (Token) is wrong
jira_auth_url_error=The test connection failed, please check whether the Jira address is correct
jira_auth_url_error=The test connection failed, please check whether the Jira address is correct
#ui 指令校驗
param_error=Param Error
is_null= can't be null
url_is_null= URL can't be null
frame_index_is_null= frame index can't be null
element_is_null= element can't be null
locator_is_null= locator can't be null
coord=coord
input_content=input
subitem_type=subitem type
subitem=subitem
varname=variable
varname_or_value=variable or value
attributeName=attribute name
webtitle_varname=title varname
webhandle_varname=handle varname
cant_be_negative=can't be negative
expression=expression
times=times
command=command
extract_type=extract type
cmdValidation: validation,
cmdValidateValue: validate value,
cmdValidateText: validate text,
cmdValidateDropdown: validate dropdown,
cmdValidateElement: validate element,
cmdValidateTitle: validate title,
cmdOpen: open,
cmdSelectWindow: select window,
cmdSetWindowSize: set window size,
cmdSelectFrame: select frame,
cmdDialog: dialog operation,
cmdDropdownBox: dropdown,
submit: submit,
cmdSetItem: set item,
cmdWaitElement: wait element,
cmdInput: input,
cmdMouseClick: click,
cmdMouseMove: mouse move,
cmdMouseDrag: mouse drag,
cmdTimes: times,
cmdForEach: ForEach,
cmdWhile: While,
cmdIf: If,
cmdElse: Else,
cmdElseIf: ElseIf,
close: close,
cmdExtraction: extracion,
cmdExtractWindow: window extraction,
cmdExtractElement: element extraction,

View File

@ -321,3 +321,53 @@ error_code_is_unique=错误代码不可重复
no_version_exists=不存在版本!请先创建项目的版本
jira_auth_error=账号名或密码(Token)错误
jira_auth_url_error=测试连接失败请检查Jira地址是否正确
#ui 指令校验
param_error=参数校验失败!请检查
is_null= 不能为空
url_is_null= URL 参数不能为空
frame_index_is_null= 网页索引号不能为空
element_is_null= 元素对象已经被删除
locator_is_null= 元素定位参数不能有空
coord=坐标
input_content=输入内容
subitem_type=子选项类型
subitem=子选项值
varname=变量名
varname_or_value=变量名或变量值
attributeName=属性名
webtitle_varname=网页标题变量名
webhandle_varname=网页窗口 handle变量名
cant_be_negative=不能为负数
expression=表达式
times=循环次数
command=步骤
extract_type=提取信息类型
cmdValidation: "断言",
cmdValidateValue: "断言值",
cmdValidateText: "弹窗文本",
cmdValidateDropdown: "下拉框",
cmdValidateElement: "元素断言",
cmdValidateTitle: "网页标题",
cmdOpen: "打开网页",
cmdSelectWindow: "切换窗口",
cmdSetWindowSize: "设置窗口大小",
cmdSelectFrame: "选择内嵌网页",
cmdDialog: "弹窗操作",
cmdDropdownBox: "下拉框操作",
submit: "提交表单",
cmdSetItem: "设置选项",
cmdWaitElement: "等待元素",
cmdInput: "输入操作",
cmdMouseClick: "鼠标点击",
cmdMouseMove: "鼠标移动",
cmdMouseDrag: "鼠标拖拽",
cmdTimes: "次数循环",
cmdForEach: "ForEach 循环",
cmdWhile: "While 循环",
cmdIf: "If",
cmdElse: "Else",
cmdElseIf: "ElseIf",
close: "关闭网页",
cmdExtraction: "数据提取",
cmdExtractWindow: "提取窗口信息",
cmdExtractElement: "提取元素信息",

View File

@ -320,4 +320,54 @@ error_code_is_unique=錯誤代碼不可重複
no_version_exists=不存在版本!請先創建項目的版本
jira_auth_error=賬號名或密碼(Token)錯誤
jira_auth_url_error=測試連接失敗請檢查Jira地址是否正確
jira_auth_url_error=測試連接失敗請檢查Jira地址是否正確
#ui 指令校驗
param_error=參數校驗失敗!請檢查
is_null= 不能為空
url_is_null= URL 參數不能為空
frame_index_is_null= 網頁索引號不能為空
element_is_null= 元素對象已經被刪除
locator_is_null= 元素定位參數不能有空
coord=坐標
input_content=輸入內容
subitem_type=子選項類型
subitem=子選項值
varname=變量名
varname_or_value=變量名或變量值
attributeName=屬性名
webtitle_varname=網頁標題變量名
webhandle_varname=網頁窗口 handle變量名
cant_be_negative=不能為負數
expression=表達式
times=循環次數
command=步驟
extract_type=提取信息類型
cmdValidation: "斷言",
cmdValidateValue: "斷言值",
cmdValidateText: "彈窗文本",
cmdValidateDropdown: "下拉框",
cmdValidateElement: "元素斷言",
cmdValidateTitle: "網頁標題",
cmdOpen: "打開網頁",
cmdSelectWindow: "切換窗口",
cmdSetWindowSize: "設置窗口大小",
cmdSelectFrame: "選擇內嵌網頁",
cmdDialog: "彈窗操作",
cmdDropdownBox: "下拉框操作",
submit: "提交表單",
cmdSetItem: "設置選項",
cmdWaitElement: "等待元素",
cmdInput: "輸入操作",
cmdMouseClick: "鼠標點擊",
cmdMouseMove: "鼠標移動",
cmdMouseDrag: "鼠標拖拽",
cmdTimes: "次數循環",
cmdForEach: "ForEach 循環",
cmdWhile: "While 循環",
cmdIf: "If",
cmdElse: "Else",
cmdElseIf: "ElseIf",
close: "關閉網頁",
cmdExtraction: "數據提取",
cmdExtractWindow: "提取窗口信息",
cmdExtractElement: "提取元素信息",