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
DoubleClick GetParent ReleaseKeys Exists GetProperty RealeaseMouse GenerateDecl GetPropertyList ScrollIntoView GetAppId GetRect SetArrayProperty GetArrayProperty GetTag SetInputLanguage GetBitmapCRC InvokeMethods SetProperty 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
本文详细介绍了ANYTYPE数据类型及其特点,包括它可以存储任意类型的数据,但需要注意编译时不会进行类型检查。此外,还深入探讨了AnyWinClass类,它是GUI中所有窗口对象的基础类,并列举了其丰富的API方法。
2732

被折叠的 条评论
为什么被折叠?



