diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index 5d8b1069b0130a9ee1028b6cd14722b481ddd1cb..c9e082d7743f0cbea09f8b46a93573418a2d415f 100755 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -42,8 +42,8 @@ import { Callback } from './@ohos.base'; * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum MatchPattern { /** @@ -67,9 +67,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ EQUALS = 0, /** @@ -93,9 +93,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ CONTAINS = 1, /** @@ -119,9 +119,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ STARTS_WITH = 2, /** @@ -145,9 +145,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ENDS_WITH = 3, /** @@ -155,9 +155,9 @@ declare enum MatchPattern { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ REG_EXP = 4, /** @@ -165,9 +165,9 @@ declare enum MatchPattern { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ REG_EXP_ICASE = 5, } @@ -176,7 +176,7 @@ declare enum MatchPattern { * Describes the attribute requirements for the target UiComponents. * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On */ @@ -188,7 +188,7 @@ declare class By { * @param { MatchPattern } pattern The {@link MatchPattern} of the text value,default to {@link MatchPattern.EQUALS} * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#text * @test @@ -201,7 +201,7 @@ declare class By { * @param { string } key The inspectorKey value. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#id * @test @@ -214,7 +214,7 @@ declare class By { * @param { number } id The id value. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @test */ @@ -226,7 +226,7 @@ declare class By { * @param { string } tp The type value. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#type * @test @@ -239,7 +239,7 @@ declare class By { * @param { boolean } b The clickable status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#clickable * @test @@ -252,7 +252,7 @@ declare class By { * @param { boolean } b The scrollable status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#scrollable * @test @@ -265,7 +265,7 @@ declare class By { * @param { boolean } b The enabled status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#enabled * @test @@ -278,7 +278,7 @@ declare class By { * @param { boolean } b The focused status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#focused * @test @@ -291,7 +291,7 @@ declare class By { * @param { boolean } b The selected status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#selected * @test @@ -305,7 +305,7 @@ declare class By { * @param { By } by Describes the attribute requirements of UiComponent which the target one is in front of. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#isBefore * @test @@ -319,7 +319,7 @@ declare class By { * @param { By } by Describes the attribute requirements of UiComponent which the target one is in back of. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#isAfter * @test @@ -331,7 +331,7 @@ declare class By { * Represents a UiComponent of the ohos application,user can perform operations or query attributes on it. * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.Component * @test @@ -342,7 +342,7 @@ declare class UiComponent { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#click * @test @@ -354,7 +354,7 @@ declare class UiComponent { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#doubleClick * @test @@ -366,7 +366,7 @@ declare class UiComponent { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#longClick * @test @@ -378,7 +378,7 @@ declare class UiComponent { * * @returns { Promise } the id value. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @test */ @@ -389,7 +389,7 @@ declare class UiComponent { * * @returns { Promise } the inspectorKey value. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#getId * @test @@ -401,7 +401,7 @@ declare class UiComponent { * * @returns { Promise } the text value. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#getText * @test @@ -413,7 +413,7 @@ declare class UiComponent { * * @returns { Promise } the type name. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#getType * @test @@ -425,7 +425,7 @@ declare class UiComponent { * * @returns { Promise } the clickable status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isClickable * @test @@ -437,7 +437,7 @@ declare class UiComponent { * * @returns { Promise } the scrollable status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isScrollable * @test @@ -449,7 +449,7 @@ declare class UiComponent { * * @returns { Promise } the enabled status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isEnabled * @test @@ -461,7 +461,7 @@ declare class UiComponent { * * @returns { Promise } the focused status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isFocused * @test @@ -473,7 +473,7 @@ declare class UiComponent { * * @returns { Promise } the selected status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isSelected * @test @@ -486,7 +486,7 @@ declare class UiComponent { * @param { string } text The text to inject. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#inputText * @test @@ -499,7 +499,7 @@ declare class UiComponent { * @param { By } by The attribute requirements of the target {@link UiComponent}. * @returns { Promise } the found result,or undefined if not found. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#scrollSearch * @test @@ -512,7 +512,7 @@ declare class UiComponent { * coordinates-based UI actions,capture screen and so on. * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.Driver * @test @@ -523,7 +523,7 @@ declare class UiDriver { * * @returns { UiDriver } the {@link UiDriver} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#create * @test @@ -536,7 +536,7 @@ declare class UiDriver { * @param { number } duration The delay duration in milliseconds. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#delayMs * @test @@ -549,7 +549,7 @@ declare class UiDriver { * @param { By } by The attribute requirements of the target {@link UiComponent}. * @returns { Promise } the first matched {@link UiComponent} or undefined. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#findComponent * @test @@ -562,7 +562,7 @@ declare class UiDriver { * @param { By } by The attribute requirements of the target {@link UiComponent}. * @returns { Promise> } the matched {@link UiComponent}s list. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#findComponents * @test @@ -578,7 +578,7 @@ declare class UiDriver { * @throws {BusinessError} 17000002 - if the async function was not called with await. * @throws {BusinessError} 17000003 - if the assertion failed. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#assertComponentExist * @test @@ -590,7 +590,7 @@ declare class UiDriver { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#pressBack * @test @@ -603,7 +603,7 @@ declare class UiDriver { * @param { number } keyCode the target keyCode. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#triggerKey * @test @@ -617,7 +617,7 @@ declare class UiDriver { * @param { number } y The y-coordinate. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#click * @test @@ -631,7 +631,7 @@ declare class UiDriver { * @param { number } y The y-coordinate. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#doubleClick * @test @@ -645,7 +645,7 @@ declare class UiDriver { * @param { number } y The y-coordinate. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#longClick * @test @@ -661,7 +661,7 @@ declare class UiDriver { * @param { number } endy The y-coordinate of the ending point. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#swipe * @test @@ -674,7 +674,7 @@ declare class UiDriver { * @param { string } savePath the path where to store the picture. * @returns { Promise } true if screen-capturing and file-storing are completed successfully,false otherwise. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.Driver#screenCap * @test @@ -695,8 +695,8 @@ declare class UiDriver { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum WindowMode { /** @@ -711,9 +711,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ FULLSCREEN = 0, /** @@ -728,9 +728,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ PRIMARY = 1, /** @@ -745,9 +745,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ SECONDARY = 2, /** @@ -762,9 +762,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ FLOATING = 3 } @@ -782,8 +782,8 @@ declare enum WindowMode { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ResizeDirection { /** @@ -798,9 +798,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT = 0, /** @@ -815,9 +815,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT = 1, /** @@ -832,9 +832,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ UP = 2, /** @@ -849,9 +849,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ DOWN = 3, /** @@ -866,9 +866,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT_UP = 4, /** @@ -883,9 +883,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT_DOWN = 5, /** @@ -900,9 +900,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT_UP = 6, /** @@ -917,9 +917,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT_DOWN = 7 } @@ -937,8 +937,8 @@ declare enum ResizeDirection { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum DisplayRotation { /** @@ -953,9 +953,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_0 = 0, /** @@ -970,9 +970,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_90 = 1, /** @@ -987,9 +987,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_180 = 2, /** @@ -1004,9 +1004,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_270 = 3 } @@ -1033,8 +1033,8 @@ declare enum DisplayRotation { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare interface Point { /** @@ -1071,8 +1071,7 @@ declare interface Point { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ x: int; /** @@ -1109,8 +1108,7 @@ declare interface Point { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ y: int; /** @@ -1119,8 +1117,7 @@ declare interface Point { * @type { ?int } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ displayId?: int; } @@ -1147,8 +1144,8 @@ declare interface Point { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface Rect { /** @@ -1185,8 +1182,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ left: int; /** @@ -1223,8 +1219,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ top: int; /** @@ -1261,8 +1256,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ right: int; /** @@ -1299,8 +1293,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ bottom: int; /** @@ -1309,7 +1302,7 @@ declare interface Rect { * @type { ?number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic */ displayId?: number; } @@ -1327,8 +1320,8 @@ declare interface Rect { * @typedef WindowFilter * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare interface WindowFilter { /** @@ -1344,8 +1337,8 @@ declare interface WindowFilter { * @type { ?string } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName?: string; @@ -1362,8 +1355,8 @@ declare interface WindowFilter { * @type { ?string } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ title?: string; @@ -1380,8 +1373,8 @@ declare interface WindowFilter { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ focused?: boolean; @@ -1397,7 +1390,7 @@ declare interface WindowFilter { * * @type { ?boolean } * @syscap SystemCapability.Test.UiTest - * @since 11 + * @since 11 dynamiconly * @deprecated since 11 * @useinstead ohos.UiTest.WindowFilter#active */ @@ -1409,8 +1402,8 @@ declare interface WindowFilter { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ active?: boolean; @@ -1420,7 +1413,7 @@ declare interface WindowFilter { * @type { ?number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic */ displayId?: number; } @@ -1439,9 +1432,9 @@ declare interface WindowFilter { * @typedef UIElementInfo * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare interface UIElementInfo { /** @@ -1458,9 +1451,9 @@ declare interface UIElementInfo { * @readonly * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ readonly bundleName: string; /** @@ -1477,9 +1470,9 @@ declare interface UIElementInfo { * @readonly * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ readonly type: string; /** @@ -1496,9 +1489,9 @@ declare interface UIElementInfo { * @readonly * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ readonly text: string; } @@ -1517,9 +1510,9 @@ declare interface UIElementInfo { * @typedef UIEventObserver * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare interface UIEventObserver { /** @@ -1540,12 +1533,23 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic * @test - * @arkts 1.1&1.2 */ once(type: 'toastShow', callback: Callback): void; + /** + * Listen for toast show once + * + * @param { Callback } callback - function, returns the monitored UIElementInfo. + * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. + * @syscap SystemCapability.Test.UiTest + * @atomicservice + * @since 22 static + * @test + */ + onceToastShow( callback: Callback): void; + /** * Listen for dialog show once * @@ -1564,11 +1568,21 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic * @test - * @arkts 1.1&1.2 */ once(type: 'dialogShow', callback: Callback): void; + /** + * Listen for dialog show once + * + * @param { Callback } callback - function, returns the monitored UIElementInfo. + * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. + * @syscap SystemCapability.Test.UiTest + * @atomicservice + * @since 22 static + * @test + */ + onceDialogShow(callback: Callback): void; } /** @@ -1593,8 +1607,8 @@ declare interface UIEventObserver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum UiDirection { /** @@ -1618,9 +1632,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT = 0, /** @@ -1644,9 +1658,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT = 1, /** @@ -1670,9 +1684,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ UP = 2, /** @@ -1696,9 +1710,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ DOWN = 3 } @@ -1716,9 +1730,9 @@ declare enum UiDirection { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare enum MouseButton { /** @@ -1733,9 +1747,9 @@ declare enum MouseButton { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ MOUSE_BUTTON_LEFT = 0, /** @@ -1750,9 +1764,9 @@ declare enum MouseButton { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ MOUSE_BUTTON_RIGHT = 1, /** @@ -1767,9 +1781,9 @@ declare enum MouseButton { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ MOUSE_BUTTON_MIDDLE = 2 } @@ -1779,9 +1793,9 @@ declare enum MouseButton { * @interface TouchPadSwipeOptions * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare interface TouchPadSwipeOptions { /** @@ -1789,9 +1803,9 @@ declare interface TouchPadSwipeOptions { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ stay?: boolean; @@ -1800,9 +1814,9 @@ declare interface TouchPadSwipeOptions { * @type { ?int } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ speed?: int; } @@ -1812,9 +1826,8 @@ declare interface TouchPadSwipeOptions { * @interface InputTextMode * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ declare interface InputTextMode { /** @@ -1822,9 +1835,8 @@ declare interface InputTextMode { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ paste?: boolean; @@ -1833,9 +1845,8 @@ declare interface InputTextMode { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ addition?: boolean; } @@ -1859,8 +1870,8 @@ declare interface InputTextMode { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare class On { /** @@ -1896,9 +1907,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ text(txt: string, pattern?: MatchPattern): On; @@ -1932,9 +1943,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ id(id: string): On; @@ -1968,9 +1979,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ type(tp: string): On; @@ -2004,9 +2015,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ clickable(b?: boolean): On; @@ -2040,9 +2051,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ longClickable(b?: boolean): On; @@ -2076,9 +2087,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ scrollable(b?: boolean): On; @@ -2112,9 +2123,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ enabled(b?: boolean): On; @@ -2148,9 +2159,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ focused(b?: boolean): On; @@ -2184,9 +2195,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ selected(b?: boolean): On; @@ -2220,9 +2231,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ checked(b?: boolean): On; @@ -2256,9 +2267,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ checkable(b?: boolean): On; @@ -2283,9 +2294,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isBefore(on: On): On; @@ -2310,9 +2321,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isAfter(on: On): On; @@ -2337,9 +2348,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ within(on: On): On; @@ -2361,9 +2372,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ inWindow(bundleName: string): On; @@ -2375,7 +2386,7 @@ declare class On { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ belongingDisplay(displayId: number): On; @@ -2389,9 +2400,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ description(val: string, pattern?: MatchPattern): On; /** @@ -2403,9 +2414,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ id(id: string, pattern: MatchPattern): On; /** @@ -2417,9 +2428,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ type(tp: string, pattern: MatchPattern): On; /** @@ -2431,9 +2442,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ hint(val: string, pattern?: MatchPattern): On; @@ -2449,7 +2460,7 @@ declare class On { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ originalText(text: string, pattern?: MatchPattern): On; @@ -2476,9 +2487,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class Component { /** @@ -2511,9 +2522,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ click(): Promise; @@ -2547,9 +2558,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ doubleClick(): Promise; @@ -2583,9 +2594,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ longClick(): Promise; @@ -2619,9 +2630,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getId(): Promise; @@ -2633,7 +2644,7 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayId(): Promise; @@ -2668,9 +2679,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getText(): Promise; @@ -2704,9 +2715,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getType(): Promise; @@ -2740,9 +2751,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isClickable(): Promise; @@ -2776,9 +2787,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isLongClickable(): Promise; @@ -2812,9 +2823,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isScrollable(): Promise; @@ -2848,9 +2859,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isEnabled(): Promise; @@ -2884,9 +2895,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isFocused(): Promise; @@ -2920,9 +2931,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isSelected(): Promise; @@ -2956,9 +2967,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isChecked(): Promise; @@ -2992,9 +3003,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isCheckable(): Promise; @@ -3034,9 +3045,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ inputText(text: string): Promise; @@ -3052,9 +3063,8 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ inputText(text: string, mode: InputTextMode): Promise; @@ -3088,9 +3098,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ clearText(): Promise; @@ -3130,9 +3140,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ scrollToTop(speed?: int): Promise; @@ -3172,9 +3182,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ scrollToBottom(speed?: int): Promise; @@ -3208,9 +3218,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBounds(): Promise; @@ -3250,7 +3260,7 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ scrollSearch(on: On): Promise; @@ -3285,9 +3295,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBoundsCenter(): Promise; @@ -3313,9 +3323,9 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ dragTo(target: Component): Promise; @@ -3342,9 +3352,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pinchOut(scale: double): Promise; /** @@ -3370,27 +3380,12 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pinchIn(scale: double): Promise; - - /** - * Scroll on this {@link Component}to find matched {@link Component},applicable to scrollable one. - * - * @param { On } on - the attribute requirements of the target {@link Component}. - * @returns { Promise } the found result, or null if not found. - * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 17000002 - The async function is not called with await. - * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. - * @syscap SystemCapability.Test.UiTest - * @since 20 - * @test - * @arkts 1.2 - */ - scrollSearch(on: On): Promise; /** * Get the description attribute value. * @@ -3399,9 +3394,9 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDescription(): Promise; /** @@ -3412,9 +3407,9 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getHint(): Promise; /** @@ -3429,7 +3424,7 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 18 + * @since 18 dynamic * @test */ scrollSearch(on: On, vertical?: boolean, offset?: number): Promise; @@ -3444,9 +3439,8 @@ declare class Component { * @throws { BusinessError } 17000002 - The async function is not called with await. * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ scrollSearch(on: On, vertical?: boolean, offset?: int): Promise; /** @@ -3460,7 +3454,7 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getOriginalText(): Promise; @@ -3490,9 +3484,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class Driver { /** @@ -3522,9 +3516,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ static create(): Driver; @@ -3561,9 +3555,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ delayMs(duration: int): Promise; @@ -3600,7 +3594,7 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ findComponent(on: On): Promise; @@ -3612,9 +3606,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ findComponent(on: On): Promise; /** @@ -3637,7 +3630,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ findWindow(filter: WindowFilter): Promise; @@ -3649,9 +3642,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ findWindow(filter: WindowFilter): Promise; /** @@ -3676,7 +3668,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ waitForComponent(on: On, time: number): Promise; @@ -3689,9 +3681,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ waitForComponent(on: On, time: int): Promise; /** @@ -3727,7 +3718,7 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ findComponents(on: On): Promise>; @@ -3739,9 +3730,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ findComponents(on: On): Promise | null>; /** @@ -3780,9 +3770,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ assertComponentExist(on: On): Promise; @@ -3813,9 +3803,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pressBack(): Promise; @@ -3828,9 +3818,8 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ pressBack(displayId: int): Promise; @@ -3855,9 +3844,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ triggerKey(keyCode: int): Promise; @@ -3871,9 +3860,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ triggerKey(keyCode: int, displayId: int): Promise; @@ -3902,9 +3890,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ triggerCombineKeys(key0: int, key1: int, key2?: int): Promise; @@ -3920,7 +3908,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ triggerCombineKeys(key0: number, key1: number, key2?: number, displayId?: number): Promise; @@ -3961,9 +3949,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ click(x: int, y: int): Promise; @@ -4003,9 +3991,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ doubleClick(x: int, y: int): Promise; @@ -4045,9 +4033,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ longClick(x: int, y: int): Promise; @@ -4096,9 +4084,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ swipe(startx: int, starty: int, endx: int, endy: int, speed?: int): Promise; @@ -4130,9 +4118,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ drag(startx: int, starty: int, endx: int, endy: int, speed?: int): Promise; @@ -4145,7 +4133,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ clickAt(point: Point): Promise; @@ -4159,7 +4147,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ doubleClickAt(point: Point): Promise; @@ -4174,7 +4162,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ longClickAt(point: Point, duration?: number): Promise; @@ -4190,7 +4178,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ swipeBetween(from: Point, to: Point, speed?: number): Promise; @@ -4207,7 +4195,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ dragBetween(from: Point, to: Point, speed?: number, duration?: number): Promise; @@ -4232,9 +4220,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ screenCap(savePath: string): Promise; @@ -4248,7 +4236,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ screenCap(savePath: string, displayId: number): Promise; @@ -4273,9 +4261,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ setDisplayRotation(rotation: DisplayRotation): Promise; @@ -4295,9 +4283,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplayRotation(): Promise; @@ -4310,7 +4298,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayRotation(displayId: number): Promise; @@ -4335,9 +4323,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ setDisplayRotationEnabled(enabled: boolean): Promise; @@ -4357,9 +4345,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplaySize(): Promise; @@ -4372,9 +4360,8 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ getDisplaySize(displayId: int): Promise; @@ -4394,9 +4381,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplayDensity(): Promise; @@ -4409,7 +4396,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayDensity(displayId: number): Promise; @@ -4430,9 +4417,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ wakeUpDisplay(): Promise; @@ -4452,9 +4439,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pressHome(): Promise; @@ -4467,9 +4454,8 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ pressHome(displayId: int): Promise; @@ -4495,9 +4481,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ waitForIdle(idleTime: int, timeout: int): Promise; @@ -4543,9 +4529,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ fling(from: Point, to: Point, stepLen: int, speed: int): Promise; @@ -4572,9 +4558,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ injectMultiPointerAction(pointers: PointerMatrix, speed?: int): Promise; @@ -4614,9 +4600,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ fling(direction: UiDirection, speed: int): Promise; @@ -4631,9 +4617,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ fling(direction: UiDirection, speed: int, displayId: int): Promise; @@ -4663,9 +4648,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseClick(p: Point, btnId: MouseButton, key1?: int, key2?: int): Promise; @@ -4689,9 +4674,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseMoveTo(p: Point): Promise; @@ -4723,9 +4708,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic * @test - * @arkts 1.1&1.2 */ mouseScroll(p: Point, down: boolean, d: int, key1?: int, key2?: int): Promise; @@ -4743,9 +4727,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseScroll(p: Point, down: boolean, d: int, key1?: int, key2?: int, speed?: int): Promise; @@ -4771,9 +4755,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ screenCapture(savePath: string, rect?: Rect): Promise; @@ -4793,9 +4777,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ createUIEventObserver(): UIEventObserver; @@ -4811,9 +4795,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseDoubleClick(p: Point, btnId: MouseButton, key1?: int, key2?: int): Promise; @@ -4829,9 +4813,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseLongClick(p: Point, btnId: MouseButton, key1?: int, key2?: int): Promise; @@ -4848,7 +4832,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ mouseLongClick(p: Point, btnId: MouseButton, key1?: number, key2?: number, duration?: number): Promise; @@ -4864,9 +4848,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseMoveWithTrack(from: Point, to: Point, speed?: int): Promise; @@ -4881,9 +4865,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseDrag(from: Point, to: Point, speed?: int): Promise; @@ -4899,7 +4883,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ mouseDrag(from: Point, to: Point, speed?: number, duration?: number): Promise; @@ -4914,9 +4898,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ inputText(p: Point, text: string): Promise; @@ -4932,9 +4916,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ inputText(p: Point, text: string, mode: InputTextMode): Promise; @@ -4949,9 +4932,9 @@ declare class Driver { * @throws { BusinessError } 17000005 This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ touchPadMultiFingerSwipe(fingers: int, direction: UiDirection, options?: TouchPadSwipeOptions): Promise; @@ -4963,9 +4946,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penClick(point: Point): Promise; @@ -4978,9 +4961,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penLongClick(point: Point, pressure?: double): Promise; @@ -4992,9 +4975,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penDoubleClick(point: Point): Promise; @@ -5009,9 +4992,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penSwipe(startPoint: Point, endPoint: Point, speed?: int, pressure?: double): Promise; @@ -5025,9 +5008,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ injectPenPointerAction(pointers: PointerMatrix, speed?: int, pressure?: double): Promise; @@ -5042,7 +5025,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ crownRotate(d: number, speed?: number): Promise; @@ -5058,9 +5041,9 @@ declare class Driver { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class UiWindow { /** @@ -5081,9 +5064,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBundleName(): Promise; @@ -5106,9 +5089,9 @@ declare class UiWindow { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBounds(): Promise; @@ -5130,9 +5113,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getTitle(): Promise; @@ -5154,9 +5137,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getWindowMode(): Promise; @@ -5178,9 +5161,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isFocused(): Promise; @@ -5201,7 +5184,7 @@ declare class UiWindow { * @throws { BusinessError } 17000002 - The async function is not called with await. * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest - * @since 11 + * @since 11 dynamiconly * @deprecated since 11 * @useinstead ohos.UiTest.UiWindow#isActive * @test @@ -5226,9 +5209,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ focus(): Promise; @@ -5258,9 +5241,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ moveTo(x: int, y: int): Promise; @@ -5292,9 +5275,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ resize(wide: int, height: int, direction: ResizeDirection): Promise; @@ -5318,9 +5301,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ split(): Promise; @@ -5344,9 +5327,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ maximize(): Promise; @@ -5370,9 +5353,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ minimize(): Promise; @@ -5396,9 +5379,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ resume(): Promise; @@ -5422,9 +5405,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ close(): Promise; @@ -5436,9 +5419,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isActive(): Promise; @@ -5450,7 +5433,7 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayId(): Promise; @@ -5471,9 +5454,9 @@ declare class UiWindow { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class PointerMatrix { /** @@ -5497,9 +5480,9 @@ declare class PointerMatrix { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ static create(fingers: int, steps: int): PointerMatrix; @@ -5524,9 +5507,9 @@ declare class PointerMatrix { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ setPoint(finger: int, step: int, point: Point): void; } @@ -5535,7 +5518,7 @@ declare class PointerMatrix { * The static builder for building {@link By}object conveniently,usage example:BY.text('txt').enabled(true). * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.ON * @test @@ -5555,13 +5538,13 @@ declare const BY: By; * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare const ON: On; - /*** if arkts 1.1 */ + /*** if arkts dynamic */ export { UiComponent, UiDriver,