Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
192a12f7
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
192a12f7
编写于
12月 23, 2022
作者:
E
esterzhou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docs (11840)
Signed-off-by:
N
esterzhou
<
ester.zhou@huawei.com
>
上级
b37a0cc7
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
2939 addition
and
492 deletion
+2939
-492
en/application-dev/reference/apis/js-apis-uitest.md
en/application-dev/reference/apis/js-apis-uitest.md
+2852
-492
en/application-dev/reference/errorcodes/errorcode-uitest.md
en/application-dev/reference/errorcodes/errorcode-uitest.md
+87
-0
未找到文件。
en/application-dev/reference/apis/js-apis-uitest.md
浏览文件 @
192a12f7
此差异已折叠。
点击以展开。
en/application-dev/reference/errorcodes/errorcode-uitest.md
0 → 100644
浏览文件 @
192a12f7
# UiTest Error Codes
## 17000001 Initialization Failure
**Error Message**
Initialize failed.
**Description**
This error code is reported when the framework fails to be initialized.
**Possible Causes**
The accessibility service cannot be accessed.
**Solution**
Run the
**param set persist.ace.testmode.enabled 1**
command and restart the device.
## 17000002 Unable to Call the API
**Error Message**
API does not allow calling concurrently.
**Description**
This error code is reported when the API fails to be called.
**Possible Causes**
The API was not called using
**await**
.
**Solution**
Check test cases and make sure asynchronous APIs are called using
**await**
.
## 17000003 Assertion Failure
**Error Message**
Component existence assertion failed.
**Description**
This error code is reported when the user assertion fails.
**Possible Causes**
The component that the user asserts to exist does not exist.
**Solution**
Check the existence of the component that is asserted to exist.
## 17000004 Target Component/Window Lost
**Error Message**
Component lost/UiWindow lost.
**Description**
This error code is reported when the target component or window is lost and cannot be operated.
**Possible Causes**
After the target component or window is obtained, the page changes. As a result, the target component or window is lost.
**Solution**
Check whether the loss is caused by page changes.
## 17000005 Operation Not Supported
**Error Message**
This operation is not supported.
**Description**
This error code is reported when the performed operation is not supported by the UI object.
**Possible Causes**
The component or window attribute does not support the performed operation.
**Solution**
Make sure the operation to perform is supported by the component or window attribute.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录