harmony(鸿蒙)JS API Changes of the Test Subsystem

2022-10-28 浏览 (683)

JS API Changes of the Test Subsystem

The table below lists the APIs changes of the test subsystem in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.uitestUiDriverdrag(startx: number, starty: number, endx: number, endy: number): Promise<void>;Added
ohos.uitestUiDriverwaitForComponent(by: By, time: number): Promise<UiComponent>;Added
ohos.uitestUiComponentdragTo(target: UiComponent): Promise<void>;Added
ohos.uitestUiComponentgetBounds(): Promise<Rect>;Added
ohos.uitestUiComponentscrollToBottom(): Promise<void>;Added
ohos.uitestUiComponentscrollToTop(): Promise<void>;Added
ohos.uitestUiComponentclearText(): Promise<void>;Added
ohos.uitestUiComponentisCheckable(): Promise<bool>;Added
ohos.uitestUiComponentisChecked(): Promise<bool>;Added
ohos.uitestUiComponentisLongClickable(): Promise<bool>;Added
ohos.uitestBycheckable(b?: bool): By;Added
ohos.uitestBychecked(b?: bool): By;Added
ohos.uitestBylongClickable(b?: bool): By;Added
ohos.uitestRectreadonly bottomY: number;Added
ohos.uitestRectreadonly rightX: number;Added
ohos.uitestRectreadonly topY: number;Added
ohos.uitestRectreadonly leftX: number;Added

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)JS API Changes of the Ability Framework

harmony(鸿蒙)JS API Changes of the ArkUI Development Framework

harmony(鸿蒙)JS API Changes of the Power Management Subsystem

harmony(鸿蒙)JS API Changes of the Bundle Management Framework

harmony(鸿蒙)JS API Changes of the Communication Subsystem

harmony(鸿蒙)JS API Changes of the DFX Subsystem

harmony(鸿蒙)JS API Changes of the Distributed Data Management Subsystem

harmony(鸿蒙)JS API Changes of the Common Event and Notification Subsystem

harmony(鸿蒙)JS API Changes of the File Management Subsystem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/5aec434edc00475b8e21850b3a149bcb