• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Test Subsystem
2
3The table below lists the APIs changes of the test subsystem in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.uitest | UiDriver | drag(startx: number, starty: number, endx: number, endy: number): Promise\<void>; | Added|
10| ohos.uitest | UiDriver | waitForComponent(by: By, time: number): Promise\<UiComponent>; | Added|
11| ohos.uitest | UiComponent | dragTo(target: UiComponent): Promise\<void>; | Added|
12| ohos.uitest | UiComponent | getBounds(): Promise\<Rect>; | Added|
13| ohos.uitest | UiComponent | scrollToBottom(): Promise\<void>; | Added|
14| ohos.uitest | UiComponent | scrollToTop(): Promise\<void>; | Added|
15| ohos.uitest | UiComponent | clearText(): Promise\<void>; | Added|
16| ohos.uitest | UiComponent | isCheckable(): Promise\<bool>; | Added|
17| ohos.uitest | UiComponent | isChecked(): Promise\<bool>; | Added|
18| ohos.uitest | UiComponent | isLongClickable(): Promise\<bool>; | Added|
19| ohos.uitest | By | checkable(b?: bool): By; | Added|
20| ohos.uitest | By | checked(b?: bool): By; | Added|
21| ohos.uitest | By | longClickable(b?: bool): By; | Added|
22| ohos.uitest | Rect | readonly  bottomY: number; | Added|
23| ohos.uitest | Rect | readonly  rightX: number; | Added|
24| ohos.uitest | Rect | readonly  topY: number; | Added|
25| ohos.uitest | Rect | readonly  leftX: number; | Added|
26