1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Added|NA|Class name: UIElementInfo;<br>Method or attribute name: readonly bundleName: string;|@ohos.UiTest.d.ts| 4|Added|NA|Class name: UIElementInfo;<br>Method or attribute name: readonly type: string;|@ohos.UiTest.d.ts| 5|Added|NA|Class name: UIElementInfo;<br>Method or attribute name: readonly text: string;|@ohos.UiTest.d.ts| 6|Added|NA|Class name: UIEventObserver;<br>Method or attribute name: once(type: 'toastShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts| 7|Added|NA|Class name: UIEventObserver;<br>Method or attribute name: once(type: 'dialogShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts| 8|Added|NA|Class name: UiDirection;<br>Method or attribute name: LEFT = 0|@ohos.UiTest.d.ts| 9|Added|NA|Class name: UiDirection;<br>Method or attribute name: RIGHT = 1|@ohos.UiTest.d.ts| 10|Added|NA|Class name: UiDirection;<br>Method or attribute name: UP = 2|@ohos.UiTest.d.ts| 11|Added|NA|Class name: UiDirection;<br>Method or attribute name: DOWN = 3|@ohos.UiTest.d.ts| 12|Added|NA|Class name: MouseButton;<br>Method or attribute name: MOUSE_BUTTON_LEFT = 0|@ohos.UiTest.d.ts| 13|Added|NA|Class name: MouseButton;<br>Method or attribute name: MOUSE_BUTTON_RIGHT = 1|@ohos.UiTest.d.ts| 14|Added|NA|Class name: MouseButton;<br>Method or attribute name: MOUSE_BUTTON_MIDDLE = 2|@ohos.UiTest.d.ts| 15|Added|NA|Class name: On;<br>Method or attribute name: within(on: On): On;|@ohos.UiTest.d.ts| 16|Added|NA|Class name: On;<br>Method or attribute name: inWindow(bundleName: string): On;|@ohos.UiTest.d.ts| 17|Added|NA|Class name: Driver;<br>Method or attribute name: fling(direction: UiDirection, speed: number): Promise\<void>;|@ohos.UiTest.d.ts| 18|Added|NA|Class name: Driver;<br>Method or attribute name: mouseClick(p: Point, btnId: MouseButton, key1?: number, key2?: number): Promise\<void>;|@ohos.UiTest.d.ts| 19|Added|NA|Class name: Driver;<br>Method or attribute name: mouseMoveTo(p: Point): Promise\<void>;|@ohos.UiTest.d.ts| 20|Added|NA|Class name: Driver;<br>Method or attribute name: mouseScroll(p: Point, down: boolean, d: number, key1?: number, key2?: number): Promise\<void>;|@ohos.UiTest.d.ts| 21|Added|NA|Class name: Driver;<br>Method or attribute name: screenCapture(savePath: string, rect?: Rect): Promise\<boolean>;|@ohos.UiTest.d.ts| 22|Added|NA|Class name: Driver;<br>Method or attribute name: createUIEventObserver(): UIEventObserver;|@ohos.UiTest.d.ts| 23|Error code changed|Class name: UiDriver;<br>Method or attribute name: assertComponentExist(by: By): Promise\<void>;<br>Old version information: Throws|Class name: UiDriver;<br>Method or attribute name: assertComponentExist(by: By): Promise\<void>;<br>New version information: 401, 17000002, 17000003|@ohos.UiTest.d.ts| 24|Type changed|Class name: Point;<br>Method or attribute name: readonly x: number;<br>Old version information: |Class name: Point;<br>Method or attribute name: readonly x: number;<br>New version information: number|@ohos.UiTest.d.ts| 25|Type changed|Class name: Point;<br>Method or attribute name: readonly y: number;<br>Old version information: |Class name: Point;<br>Method or attribute name: readonly y: number;<br>New version information: number|@ohos.UiTest.d.ts| 26|Type changed|Class name: Rect;<br>Method or attribute name: readonly left: number;<br>Old version information: |Class name: Rect;<br>Method or attribute name: readonly left: number;<br>New version information: number|@ohos.UiTest.d.ts| 27|Type changed|Class name: Rect;<br>Method or attribute name: readonly top: number;<br>Old version information: |Class name: Rect;<br>Method or attribute name: readonly top: number;<br>New version information: number|@ohos.UiTest.d.ts| 28|Type changed|Class name: Rect;<br>Method or attribute name: readonly right: number;<br>Old version information: |Class name: Rect;<br>Method or attribute name: readonly right: number;<br>New version information: number|@ohos.UiTest.d.ts| 29|Type changed|Class name: Rect;<br>Method or attribute name: readonly bottom: number;<br>Old version information: |Class name: Rect;<br>Method or attribute name: readonly bottom: number;<br>New version information: number|@ohos.UiTest.d.ts| 30|Type changed|Class name: WindowFilter;<br>Method or attribute name: bundleName?: string;<br>Old version information: |Class name: WindowFilter;<br>Method or attribute name: bundleName?: string;<br>New version information: ?string|@ohos.UiTest.d.ts| 31|Type changed|Class name: WindowFilter;<br>Method or attribute name: title?: string;<br>Old version information: |Class name: WindowFilter;<br>Method or attribute name: title?: string;<br>New version information: ?string|@ohos.UiTest.d.ts| 32|Type changed|Class name: WindowFilter;<br>Method or attribute name: focused?: boolean;<br>Old version information: |Class name: WindowFilter;<br>Method or attribute name: focused?: boolean;<br>New version information: ?boolean|@ohos.UiTest.d.ts| 33|Type changed|Class name: WindowFilter;<br>Method or attribute name: actived?: boolean;<br>Old version information: |Class name: WindowFilter;<br>Method or attribute name: actived?: boolean;<br>New version information: ?boolean|@ohos.UiTest.d.ts| 34|Cross-platform capability changed|Class name: MatchPattern;<br>Method or attribute name: declare enum MatchPattern<br>Old version information: |Class name: MatchPattern;<br>Method or attribute name: declare enum MatchPattern<br>New version information: crossplatform|@ohos.UiTest.d.ts| 35|Cross-platform capability changed|Class name: MatchPattern;<br>Method or attribute name: EQUALS = 0<br>Old version information: |Class name: MatchPattern;<br>Method or attribute name: EQUALS = 0<br>New version information: crossplatform|@ohos.UiTest.d.ts| 36|Cross-platform capability changed|Class name: MatchPattern;<br>Method or attribute name: CONTAINS = 1<br>Old version information: |Class name: MatchPattern;<br>Method or attribute name: CONTAINS = 1<br>New version information: crossplatform|@ohos.UiTest.d.ts| 37|Cross-platform capability changed|Class name: MatchPattern;<br>Method or attribute name: STARTS_WITH = 2<br>Old version information: |Class name: MatchPattern;<br>Method or attribute name: STARTS_WITH = 2<br>New version information: crossplatform|@ohos.UiTest.d.ts| 38|Cross-platform capability changed|Class name: MatchPattern;<br>Method or attribute name: ENDS_WITH = 3<br>Old version information: |Class name: MatchPattern;<br>Method or attribute name: ENDS_WITH = 3<br>New version information: crossplatform|@ohos.UiTest.d.ts| 39|Cross-platform capability changed|Class name: Point;<br>Method or attribute name: declare interface Point<br>Old version information: |Class name: Point;<br>Method or attribute name: declare interface Point<br>New version information: crossplatform|@ohos.UiTest.d.ts| 40|Cross-platform capability changed|Class name: Point;<br>Method or attribute name: readonly x: number;<br>Old version information: |Class name: Point;<br>Method or attribute name: readonly x: number;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 41|Cross-platform capability changed|Class name: Point;<br>Method or attribute name: readonly y: number;<br>Old version information: |Class name: Point;<br>Method or attribute name: readonly y: number;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 42|Cross-platform capability changed|Class name: On;<br>Method or attribute name: text(txt: string, pattern?: MatchPattern): On;<br>Old version information: |Class name: On;<br>Method or attribute name: text(txt: string, pattern?: MatchPattern): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 43|Cross-platform capability changed|Class name: On;<br>Method or attribute name: id(id: string): On;<br>Old version information: |Class name: On;<br>Method or attribute name: id(id: string): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 44|Cross-platform capability changed|Class name: On;<br>Method or attribute name: type(tp: string): On;<br>Old version information: |Class name: On;<br>Method or attribute name: type(tp: string): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 45|Cross-platform capability changed|Class name: On;<br>Method or attribute name: clickable(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: clickable(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 46|Cross-platform capability changed|Class name: On;<br>Method or attribute name: longClickable(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: longClickable(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 47|Cross-platform capability changed|Class name: On;<br>Method or attribute name: scrollable(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: scrollable(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 48|Cross-platform capability changed|Class name: On;<br>Method or attribute name: enabled(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: enabled(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 49|Cross-platform capability changed|Class name: On;<br>Method or attribute name: focused(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: focused(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 50|Cross-platform capability changed|Class name: On;<br>Method or attribute name: selected(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: selected(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 51|Cross-platform capability changed|Class name: On;<br>Method or attribute name: checked(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: checked(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 52|Cross-platform capability changed|Class name: On;<br>Method or attribute name: checkable(b?: boolean): On;<br>Old version information: |Class name: On;<br>Method or attribute name: checkable(b?: boolean): On;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 53|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: click(): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: click(): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 54|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: doubleClick(): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: doubleClick(): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 55|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: longClick(): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: longClick(): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 56|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: getId(): Promise\<string>;<br>Old version information: |Class name: Component;<br>Method or attribute name: getId(): Promise\<string>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 57|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: getText(): Promise\<string>;<br>Old version information: |Class name: Component;<br>Method or attribute name: getText(): Promise\<string>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 58|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: getType(): Promise\<string>;<br>Old version information: |Class name: Component;<br>Method or attribute name: getType(): Promise\<string>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 59|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isClickable(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isClickable(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 60|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isLongClickable(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isLongClickable(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 61|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isScrollable(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isScrollable(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 62|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isEnabled(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isEnabled(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 63|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isFocused(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isFocused(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 64|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isSelected(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isSelected(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 65|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isChecked(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isChecked(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 66|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: isCheckable(): Promise\<boolean>;<br>Old version information: |Class name: Component;<br>Method or attribute name: isCheckable(): Promise\<boolean>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 67|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: inputText(text: string): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: inputText(text: string): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 68|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: clearText(): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: clearText(): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 69|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: scrollToTop(speed?: number): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: scrollToTop(speed?: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 70|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: scrollToBottom(speed?: number): Promise\<void>;<br>Old version information: |Class name: Component;<br>Method or attribute name: scrollToBottom(speed?: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 71|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: scrollSearch(on: On): Promise\<Component>;<br>Old version information: |Class name: Component;<br>Method or attribute name: scrollSearch(on: On): Promise\<Component>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 72|Cross-platform capability changed|Class name: Component;<br>Method or attribute name: getBoundsCenter(): Promise\<Point>;<br>Old version information: |Class name: Component;<br>Method or attribute name: getBoundsCenter(): Promise\<Point>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 73|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: static create(): Driver;<br>Old version information: |Class name: Driver;<br>Method or attribute name: static create(): Driver;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 74|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: delayMs(duration: number): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: delayMs(duration: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 75|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: findComponent(on: On): Promise\<Component>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: findComponent(on: On): Promise\<Component>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 76|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: findComponents(on: On): Promise\<Array\<Component>>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: findComponents(on: On): Promise\<Array\<Component>>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 77|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: assertComponentExist(on: On): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: assertComponentExist(on: On): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 78|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: pressBack(): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: pressBack(): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 79|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: click(x: number, y: number): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: click(x: number, y: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 80|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: doubleClick(x: number, y: number): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: doubleClick(x: number, y: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 81|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: longClick(x: number, y: number): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: longClick(x: number, y: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 82|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: swipe(startx: number, starty: number, endx: number, endy: number, speed?: number): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: swipe(startx: number, starty: number, endx: number, endy: number, speed?: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 83|Cross-platform capability changed|Class name: Driver;<br>Method or attribute name: fling(from: Point, to: Point, stepLen: number, speed: number): Promise\<void>;<br>Old version information: |Class name: Driver;<br>Method or attribute name: fling(from: Point, to: Point, stepLen: number, speed: number): Promise\<void>;<br>New version information: crossplatform|@ohos.UiTest.d.ts| 84