Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Class name: UIElementInfo; Method or attribute name: readonly bundleName: string; |
@ohos.UiTest.d.ts |
Added | NA | Class name: UIElementInfo; Method or attribute name: readonly type: string; |
@ohos.UiTest.d.ts |
Added | NA | Class name: UIElementInfo; Method or attribute name: readonly text: string; |
@ohos.UiTest.d.ts |
Added | NA | Class name: UIEventObserver; Method or attribute name: once(type: 'toastShow', callback: Callback<UIElementInfo>): void; |
@ohos.UiTest.d.ts |
Added | NA | Class name: UIEventObserver; Method or attribute name: once(type: 'dialogShow', callback: Callback<UIElementInfo>): void; |
@ohos.UiTest.d.ts |
Added | NA | Class name: UiDirection; Method or attribute name: LEFT = 0 |
@ohos.UiTest.d.ts |
Added | NA | Class name: UiDirection; Method or attribute name: RIGHT = 1 |
@ohos.UiTest.d.ts |
Added | NA | Class name: UiDirection; Method or attribute name: UP = 2 |
@ohos.UiTest.d.ts |
Added | NA | Class name: UiDirection; Method or attribute name: DOWN = 3 |
@ohos.UiTest.d.ts |
Added | NA | Class name: MouseButton; Method or attribute name: MOUSE_BUTTON_LEFT = 0 |
@ohos.UiTest.d.ts |
Added | NA | Class name: MouseButton; Method or attribute name: MOUSE_BUTTON_RIGHT = 1 |
@ohos.UiTest.d.ts |
Added | NA | Class name: MouseButton; Method or attribute name: MOUSE_BUTTON_MIDDLE = 2 |
@ohos.UiTest.d.ts |
Added | NA | Class name: On; Method or attribute name: within(on: On): On; |
@ohos.UiTest.d.ts |
Added | NA | Class name: On; Method or attribute name: inWindow(bundleName: string): On; |
@ohos.UiTest.d.ts |
Added | NA | Class name: Driver; Method or attribute name: fling(direction: UiDirection, speed: 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 | Class name: Driver; Method or attribute name: mouseMoveTo(p: Point): Promise<void>; |
@ohos.UiTest.d.ts |
Added | NA | 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 | Class name: Driver; Method or attribute name: screenCapture(savePath: string, rect?: Rect): Promise<boolean>; |
@ohos.UiTest.d.ts |
Added | NA | Class name: Driver; Method or attribute name: createUIEventObserver(): UIEventObserver; |
@ohos.UiTest.d.ts |
Error code changed | Class name: UiDriver; Method or attribute name: assertComponentExist(by: By): Promise<void>; Old version information: Throws |
Class name: UiDriver; Method or attribute name: assertComponentExist(by: By): Promise<void>; New version information: 401, 17000002, 17000003 |
@ohos.UiTest.d.ts |
Type changed | Class name: Point; Method or attribute name: readonly x: number; Old version information: |
Class name: Point; Method or attribute name: readonly x: number; New version information: number |
@ohos.UiTest.d.ts |
Type changed | Class name: Point; Method or attribute name: readonly y: number; Old version information: |
Class name: Point; Method or attribute name: readonly y: number; New version information: number |
@ohos.UiTest.d.ts |
Type changed | Class name: Rect; Method or attribute name: readonly left: number; Old version information: |
Class name: Rect; Method or attribute name: readonly left: number; New version information: number |
@ohos.UiTest.d.ts |
Type changed | Class name: Rect; Method or attribute name: readonly top: number; Old version information: |
Class name: Rect; Method or attribute name: readonly top: number; New version information: number |
@ohos.UiTest.d.ts |
Type changed | Class name: Rect; Method or attribute name: readonly right: number; Old version information: |
Class name: Rect; Method or attribute name: readonly right: number; New version information: number |
@ohos.UiTest.d.ts |
Type changed | Class name: Rect; Method or attribute name: readonly bottom: number; Old version information: |
Class name: Rect; Method or attribute name: readonly bottom: number; New version information: number |
@ohos.UiTest.d.ts |
Type changed | Class name: WindowFilter; Method or attribute name: bundleName?: string; Old version information: |
Class name: WindowFilter; Method or attribute name: bundleName?: string; New version information: ?string |
@ohos.UiTest.d.ts |
Type changed | Class name: WindowFilter; Method or attribute name: title?: string; Old version information: |
Class name: WindowFilter; Method or attribute name: title?: string; New version information: ?string |
@ohos.UiTest.d.ts |
Type changed | Class name: WindowFilter; Method or attribute name: focused?: boolean; Old version information: |
Class name: WindowFilter; Method or attribute name: focused?: boolean; New version information: ?boolean |
@ohos.UiTest.d.ts |
Type changed | Class name: WindowFilter; Method or attribute name: actived?: boolean; Old version information: |
Class name: WindowFilter; Method or attribute name: actived?: boolean; New version information: ?boolean |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: MatchPattern; Method or attribute name: declare enum MatchPattern Old version information: |
Class name: MatchPattern; Method or attribute name: declare enum MatchPattern New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: MatchPattern; Method or attribute name: EQUALS = 0 Old version information: |
Class name: MatchPattern; Method or attribute name: EQUALS = 0 New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: MatchPattern; Method or attribute name: CONTAINS = 1 Old version information: |
Class name: MatchPattern; Method or attribute name: CONTAINS = 1 New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: MatchPattern; Method or attribute name: STARTS_WITH = 2 Old version information: |
Class name: MatchPattern; Method or attribute name: STARTS_WITH = 2 New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: MatchPattern; Method or attribute name: ENDS_WITH = 3 Old version information: |
Class name: MatchPattern; Method or attribute name: ENDS_WITH = 3 New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Point; Method or attribute name: declare interface Point Old version information: |
Class name: Point; Method or attribute name: declare interface Point New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Point; Method or attribute name: readonly x: number; Old version information: |
Class name: Point; Method or attribute name: readonly x: number; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Point; Method or attribute name: readonly y: number; Old version information: |
Class name: Point; Method or attribute name: readonly y: number; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: text(txt: string, pattern?: MatchPattern): On; Old version information: |
Class name: On; Method or attribute name: text(txt: string, pattern?: MatchPattern): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: id(id: string): On; Old version information: |
Class name: On; Method or attribute name: id(id: string): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: type(tp: string): On; Old version information: |
Class name: On; Method or attribute name: type(tp: string): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: clickable(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: clickable(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: longClickable(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: longClickable(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: scrollable(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: scrollable(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: enabled(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: enabled(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: focused(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: focused(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: selected(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: selected(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: checked(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: checked(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: On; Method or attribute name: checkable(b?: boolean): On; Old version information: |
Class name: On; Method or attribute name: checkable(b?: boolean): On; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: click(): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: click(): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: doubleClick(): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: doubleClick(): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: longClick(): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: longClick(): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: getId(): Promise<string>; Old version information: |
Class name: Component; Method or attribute name: getId(): Promise<string>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: getText(): Promise<string>; Old version information: |
Class name: Component; Method or attribute name: getText(): Promise<string>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: getType(): Promise<string>; Old version information: |
Class name: Component; Method or attribute name: getType(): Promise<string>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isClickable(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isClickable(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isLongClickable(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isLongClickable(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isScrollable(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isScrollable(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isEnabled(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isEnabled(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isFocused(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isFocused(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isSelected(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isSelected(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isChecked(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isChecked(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: isCheckable(): Promise<boolean>; Old version information: |
Class name: Component; Method or attribute name: isCheckable(): Promise<boolean>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: inputText(text: string): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: inputText(text: string): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: clearText(): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: clearText(): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: scrollToTop(speed?: number): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: scrollToTop(speed?: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: scrollToBottom(speed?: number): Promise<void>; Old version information: |
Class name: Component; Method or attribute name: scrollToBottom(speed?: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: scrollSearch(on: On): Promise<Component>; Old version information: |
Class name: Component; Method or attribute name: scrollSearch(on: On): Promise<Component>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Component; Method or attribute name: getBoundsCenter(): Promise<Point>; Old version information: |
Class name: Component; Method or attribute name: getBoundsCenter(): Promise<Point>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: static create(): Driver; Old version information: |
Class name: Driver; Method or attribute name: static create(): Driver; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: delayMs(duration: number): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: delayMs(duration: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: findComponent(on: On): Promise<Component>; Old version information: |
Class name: Driver; Method or attribute name: findComponent(on: On): Promise<Component>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: findComponents(on: On): Promise<Array<Component>>; Old version information: |
Class name: Driver; Method or attribute name: findComponents(on: On): Promise<Array<Component>>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: assertComponentExist(on: On): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: assertComponentExist(on: On): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: pressBack(): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: pressBack(): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: click(x: number, y: number): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: click(x: number, y: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: doubleClick(x: number, y: number): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: doubleClick(x: number, y: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: longClick(x: number, y: number): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: longClick(x: number, y: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: swipe(startx: number, starty: number, endx: number, endy: number, speed?: number): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: swipe(startx: number, starty: number, endx: number, endy: number, speed?: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |
Cross-platform capability changed | Class name: Driver; Method or attribute name: fling(from: Point, to: Point, stepLen: number, speed: number): Promise<void>; Old version information: |
Class name: Driver; Method or attribute name: fling(from: Point, to: Point, stepLen: number, speed: number): Promise<void>; New version information: crossplatform |
@ohos.UiTest.d.ts |