当前位置: 首页 > 工具软件 > Anytype > 使用案例 >

[SilkTest]ANYTYPE data type and AnyWin Class

董嘉祯
2023-12-01
 

ANYTYPE data type

  • Description
        A variable of type ANYTYPE stores data of any type, including user-defined types.
  •  Note
        Be careful when you give a variable type ANYTYPE, because 4Test does not perform compile-time type checking on it. However, type checking does occur at runtime.

 

AnyWin Class

  • Description
    AnyWin is the class for any window.
    In SilkTest the word "window" is used very generally to refer to any object or widget in a GUI. Therefore, a pushbutton, scroll bar, and check box are all considered windows, as are dialogs, menus, and menu items.
  • Inheritance
    AnyWin does not derive from any class; several class derive from it.
  • Method
    AnyWwin has the following methods:

     CaptureBitmap

    GetmanyProperties 

    PopupSelect 

    ClearTrap

    GetName

    PressKeys

    Click

    GetNativeClass

     PressMouse

    DoubleClickGetParentReleaseKeys
    ExistsGetPropertyRealeaseMouse
    GenerateDeclGetPropertyListScrollIntoView
    GetAppIdGetRectSetArrayProperty
    GetArrayPropertyGetTagSetInputLanguage
    GetBitmapCRCInvokeMethodsSetProperty

    GetCaption

    IsActive

    SetTrap

    GetChildren

    IsArrayProperty

    TypeKeys

    GetClass

    IsDefined

    VerifyActive

    GetContents

    IsEnabled

    VerifyBitmap

    GetEverything

    IsOfClass

    VerifyEnabled

    GetHandle

    IsVisible

    VerifyEverything

    GetHelpText

    InvokeJava

    VerifyText

    GetIDGetIndex

    MenuSelect

    VerifyProperties

    GetInputLanguage

    MoveMouse

    WaitBitmap

    MultiClick

      

 类似资料:

相关阅读

相关文章

相关问答