• 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 Beta3 over OpenHarmony 3.2 Beta2.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.uitest | PointerMatrix   | setPoint(finger: number, step: number, point: Point):void;                          | Added|
10| ohos.uitest | PointerMatrix   | static create(fingers: number, steps: number):PointerMatrix;                        | Added|
11| ohos.uitest | UiDriver        | injectMultiPointerAction(pointers: PointerMatrix, speed?: number):Promise\<boolean>; | Added|
12| ohos.uitest | UiDriver        | fling(from: Point, to: Point, stepLen: number, speed: number):Promise\<void>;       | Added|
13| ohos.uitest | UiDriver        | waitForIdle(idleTime: number, timeout: number):Promise\<boolean>;                   | Added|
14| ohos.uitest | UiDriver        | pressHome():Promise\<void>;                                                         | Added|
15| ohos.uitest | UiDriver        | wakeUpDisplay():Promise\<void>;                                                     | Added|
16| ohos.uitest | UiDriver        | getDisplayDensity():Promise\<Point>;                                                | Added|
17| ohos.uitest | UiDriver        | getDisplaySize():Promise\<Point>;                                                   | Added|
18| ohos.uitest | UiDriver        | setDisplayRotationEnabled(enabled:boolean):Promise\<void>;                          | Added|
19| ohos.uitest | UiDriver        | getDisplayRotation():Promise\<DisplayRotation>;                                     | Added|
20| ohos.uitest | UiDriver        | setDisplayRotation(rotation: DisplayRotation):Promise\<void>;                       | Added|
21| ohos.uitest | DisplayRotation | ROTATION_270                                                                        | Added|
22| ohos.uitest | DisplayRotation | ROTATION_180                                                                        | Added|
23| ohos.uitest | DisplayRotation | ROTATION_90                                                                         | Added|
24| ohos.uitest | DisplayRotation | ROTATION_0                                                                          | Added|
25