Change Type Old Version New Version d.ts File
Added NA Module name: ohos.UiTest
Class name: UiDirection
@ohos.UiTest.d.ts
Added NA Class name: UiDirection
Method or attribute name:
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: UiDirection
Method or attribute name: LEFT = 0
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: UiDirection
Method or attribute name: RIGHT = 1
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: UiDirection
Method or attribute name: UP = 2
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: UiDirection
Method or attribute name: DOWN = 3
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: MouseButton
@ohos.UiTest.d.ts
Added NA Class name: MouseButton
Method or attribute name:
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: MouseButton
Method or attribute name: MOUSE_BUTTON_LEFT = 0
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: MouseButton
Method or attribute name: MOUSE_BUTTON_RIGHT = 1
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: MouseButton
Method or attribute name: MOUSE_BUTTON_MIDDLE = 2
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: On
Method or attribute name: within(on: On): On;
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: On
Method or attribute name: inWindow(bundleName: string): On;
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: Driver
Method or attribute name: fling(direction: UiDirection, speed: number): Promise<void>;
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: Driver
Method or attribute name: mouseClick(p: Point, btnId: MouseButton, key1?: number, key2?: number): Promise<void>;
@ohos.UiTest.d.ts
Added NA Class name: Driver
Method or attribute name: mouseClick(p: Point, btnId: MouseButton, key1?: number, key2?: number): Promise<void>;
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: Driver
Method or attribute name: mouseMoveTo(p: Point): Promise<void>;
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: Driver
Method or attribute name: mouseScroll(p: Point, down: boolean, d: number, key1?: number, key2?: number): Promise<void>;
@ohos.UiTest.d.ts
Added NA Module name: ohos.UiTest
Class name: Driver
Method or attribute name: screenCapture(savePath: string, rect?: Rect): Promise<boolean>;
@ohos.UiTest.d.ts
Error code added NA Class name: UiDriver
Method or attribute name: assertComponentExist(by: By): Promise<void>;
Error code: 401, 17000002, 17000003
@ohos.UiTest.d.ts