1e41f4b71Sopenharmony_ci# Test Subsystem ChangeLog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.testfwk_arkxtest.1 API Name Change of Rect 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciThe definition of **Rect**, an enumeration type that indicates the component bound information, is changed since version 4.0.2.1. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci## Change Impacts 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ciThis 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. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci## Key API/Component Changes 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci### Rect<sup>9+</sup> 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciBefore change 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci| Name | Value | Description | 18e41f4b71Sopenharmony_ci| ------- | ---- | ------------------------- | 19e41f4b71Sopenharmony_ci| leftX | 1 | X-coordinate of the upper left corner of the component bounds.| 20e41f4b71Sopenharmony_ci| topY | 2 | Y-coordinate of the upper left corner of the component bounds.| 21e41f4b71Sopenharmony_ci| rightX | 3 | X-coordinate of the lower right corner of the component bounds.| 22e41f4b71Sopenharmony_ci| bottomY | 4 | Y-coordinate of the lower right corner of the component bounds.| 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ciAfter change 25e41f4b71Sopenharmony_ci 26e41f4b71Sopenharmony_ci| Name | Value | Description | 27e41f4b71Sopenharmony_ci| ------ | ---- | ------------------------- | 28e41f4b71Sopenharmony_ci| left | 1 | X-coordinate of the upper left corner of the component bounds.| 29e41f4b71Sopenharmony_ci| top | 2 | Y-coordinate of the upper left corner of the component bounds.| 30e41f4b71Sopenharmony_ci| right | 3 | X-coordinate of the lower right corner of the component bounds.| 31e41f4b71Sopenharmony_ci| bottom | 4 | Y-coordinate of the lower right corner of the component bounds.| 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci## Adaptation Guide 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci### Adaptation to the API Name Change 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ciYou can replace the class name according to the following rules: 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci- `leftX-->left` 40e41f4b71Sopenharmony_ci- `topY-->top` 41e41f4b71Sopenharmony_ci- `rightX-->right` 42e41f4b71Sopenharmony_ci- `bottomY-->bottom` 43