1# Test Subsystem ChangeLog
2
3## cl.testfwk_arkxtest.1 API Name Change of Rect
4
5The definition of **Rect**, an enumeration type that indicates the component bound information, is changed since version 4.0.2.1.
6
7## Change Impacts
8
9This change affects the **Rect** API provided by **@ohos.uitest**. If you have used the **Rect** API of **@ohos.uitest-api9** during test case development, adaptation is required so that the compilation can be successful in the SDK environment of the new version.
10
11## Key API/Component Changes
12
13### Rect<sup>9+</sup>
14
15Before change
16
17| Name   | Value  | Description                     |
18| ------- | ---- | ------------------------- |
19| leftX   | 1    | X-coordinate of the upper left corner of the component bounds.|
20| topY    | 2    | Y-coordinate of the upper left corner of the component bounds.|
21| rightX  | 3    | X-coordinate of the lower right corner of the component bounds.|
22| bottomY | 4    | Y-coordinate of the lower right corner of the component bounds.|
23
24After change
25
26| Name  | Value  | Description                     |
27| ------ | ---- | ------------------------- |
28| left   | 1    | X-coordinate of the upper left corner of the component bounds.|
29| top    | 2    | Y-coordinate of the upper left corner of the component bounds.|
30| right  | 3    | X-coordinate of the lower right corner of the component bounds.|
31| bottom | 4    | Y-coordinate of the lower right corner of the component bounds.|
32
33## Adaptation Guide
34
35### Adaptation to the API Name Change
36
37You can replace the class name according to the following rules:
38
39- `leftX-->left`
40- `topY-->top`
41- `rightX-->right`
42- `bottomY-->bottom`
43