Documente Academic
Documente Profesional
Documente Cultură
IN
SILK TEST 7.5
Note: All functions related to Groups and All methods related classes
are discussed.
Function : SetAppState ()
Notes : Calls the testcase's application state function.
Function : SetBaseState ()
Notes : Calls the testcase's base state function.
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
Function : DisconnectAll ()
Notes : Disconnects all currently connected machines.
Function : SetMultiAppStates ()
Notes : Calls the application state function associated with each connected machine.
Function : SetMultiBaseStates ()
Notes : Calls the base state function associated with each connected machine.
#***********************************************************************
Function : ExceptClear ()
Notes : Clears the information about the current exception.
Function : ExceptLog ()
Notes : Logs the exception to the results file.
Function : ExceptPrint ()
Notes : Prints all information about the exception to the results file.
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
Function : ResCloseList ()
Notes : Closes a hierarchical level in results file opened with ResOpenList.
#***********************************************************************
#***********************************************************************
#***********************************************************************
Function : PushTestInfo(sInfo)
#***********************************************************************
#***********************************************************************
Function : SYS_Restart ()
Notes : Restarts the target Macintosh.
#***********************************************************************
#***********************************************************************
#***********************************************************************
#***********************************************************************
Class : AgentClass
Method : Agent.FlushEvents ()
Notes : Causes queued keyboard and mouse events to be generated immediately.
#**********************************************************************
Class : AnyWin
Method : window.ClearTrap ()
Notes : Removes a trap set for the window.
Method : window.SetParentActive ()
Notes : Sets the parent application active (goes up the window hierarchy until
finding the application parented to the Desktop and makes that application active).
Method : window.VerifyActive ()
Notes : Verifies that the window is active.
Method : window.VerifyEnabled ()
Notes : Verifies that the window is enabled.
property : bActive
Notes : Whether the window is active (read only).
property : AppID
Notes : The identification number of the application (read only).
property : sCaption
Notes : The caption of the window (read only).
property : lwChildren
Notes : The child windows of the window (read only).
property : Class
Notes : The Class of the window (read only).
property : bEnabled
Notes : Whether the window is enabled (read only).
property : bExists
Notes : Whether the window exists (read only).
property : sID
Notes : The GUI identifier of the window (used internally) (read only).
property : sName
Notes : The 4Test identifier of the window, from the declaration (read only).
property : WndTag
Notes : The window tag of the window (read only).
property : hWnd
Notes : The internal handle of the window (read only).
property : wParent
Notes : The parent of the window (read only).
property : Rect
Notes : The size and position of the window (read only).
#***********************************************************************
Class : CheckBox
Method : checkbox.Check ()
Notes : Checks the checkbox.
Method : checkbox.Toggle ()
Notes : Toggles the state of the checkbox.
Method : checkbox.Uncheck ()
Notes : Unchecks the checkbox.
property : bChecked
Notes : Whether the checkbox is checked (read only).
property : bValue
Notes : The state of the checkbox.
#**********************************************************************
Class : ChildWin
Method : window.Invoke ()
Notes : Invokes the window, using the wInvoke variable in the declaration.
#**********************************************************************
property : lsValue
Notes : The text in the clipboard.
#**********************************************************************
Class : ComboBox
Method : combobox.ClearText ()
Notes : Removes all text from the text field of the combo box.
property : lsContents
Notes : The contents of the combo box list (read only).
property : iItemCount
Notes : The number of items in the combo box list (read only).
property : iValue
Notes : The index of the selected combo box item.
property : sValue
Notes : The text of the combo box text field.
#**********************************************************************
Method : control.SetFocus ()
Notes : Gives focus to the control.
Method : control.VerifyFocus ()
Notes : Verifies that the control has input focus.
property : bHasFocus
Notes : Whether the control has input focus (read only).
#**********************************************************************
Class : CursorClass
#**********************************************************************
Class : DesktopWin
#**********************************************************************
Class : DialogBox
Method : dialogbox.Accept ()
Method : dialogbox.Dismiss ()
Notes : Closes the dialog box without accepting the values specified there.
Method : dialogbox.Invoke ()
Notes : Invokes the dialog box, using the wInvoke variable in the declaration.
#**********************************************************************
Class : DynamicText
property : sValue
#**********************************************************************
Class : ListBox
property : lsContents
Notes : The contents of the listbox (read only).
property : bIsExtend
Notes : Whether the listbox supports extended selections (read only).
property : bIsMulti
Notes : Whether the listbox supports multiple selections (read only).
property : iItemCount
Notes : The number of items in the listbox (read only).
property : iValue
Notes : The index of the selected item in the single-selection listbox.
property : liValue
Notes : The indices of all selected items in the listbox (read only).
property : lsValue
Notes : The text of all selected items in the listbox (read only).
property : sValue
Notes : The text of the selected item in the single-selection listbox.
#**********************************************************************
property : bIsExtend
Notes : Whether the listview supports extended selections (read only).
property : bIsMulti
Notes : Whether the listview supports multiple selections (read only).
property : iItemCount
Notes : The number of items in the listview (read only).
property : iValue
Notes : The index of the selected item in the single-selection listview.
property : liValue
Notes : The indices of all selected items in the listview (read only).
property : lsValue
Notes : The text of all selected items in the listview (read only).
property : sValue
Notes : The text of the selected item in the single-selection listview.
#**********************************************************************
Class : MainWin
Method : mainwin.Exit ()
Notes : Terminates the application, closing all windows.
Method : mainwin.Invoke ()
Notes : Invokes the application, using the sCmdLine variable in the declaration.
#**********************************************************************
Class : Menu
property : iItemCount
Notes : The number of items in the menu (read only).
#**********************************************************************
Class : MenuItem
Method : menuitem.Check ()
Notes : Checks the menu item.
Method : menuitem.Pick ()
Notes : Picks the menu item.
Method : menuitem.Uncheck ()
Notes : Unchecks the menu item.
property : bChecked
Notes : Whether the menu item is checked (read only).
#**********************************************************************
Class : MoveableWin
Method : window.Maximize ()
Notes : Maximizes the window.
Method : window.Minimize ()
Notes : Iconifies the window.
Method : window.Restore ()
Notes : Restores the window to its previous size.
Method : window.SetActive ()
Notes : Makes the window active.
#**********************************************************************
property : bHasSubPages
Notes : TRUE if the PageList has sub-pages (read only).
property : lsContents
Notes : The contents of the PageList (read only).
property : iPageCount
Notes : The number of pages in the PageList (read only).
property : iValue
Notes : The index of the active page in the PageList.
#**********************************************************************
Class : TreeView
property : lsContents
Notes : The contents of the TreeView (read only).
property : iItemCount
Notes : The number of items in the treeview control (read only).
property : iValue
Notes : The index of the selected treeview item.
property : sValue
Notes : The text of the selected treeview item.
#**********************************************************************
property : lsContents
Notes : The contents of the popup list (read only).
property : iItemCount
Notes : The number of items in the popup list (read only).
property : iValue
Notes : The index of the selected popup list item.
property : sValue
Notes : The text of the selected popup list item.
#**********************************************************************
Class : PushButton
#**********************************************************************
Class : RadioList
property : lsContents
Notes : The text of the radio list items (read only).
property : iItemCount
Notes : The number of items in the radio list (read only).
property : sValue
Notes : The text of the selected radio list item.
#**********************************************************************
Class : Scale
Method : scale.SetToMax ()
Notes : Sets the scale to its maximum position.
Method : scale.SetToMin ()
Notes : Sets the scale to its minimum position.
property : Range
Notes : The range of the scale (read only).
property : iValue
Notes : The integer position of the scale.
property : rValue
Notes : The real position of the scale.
#**********************************************************************
Class : ScrollBar
Method : scrollbar.ScrollToMax ()
Notes : Scrolls the scrollbar to its maximum position.
Method : scrollbar.ScrollToMin ()
Notes : Scrolls the scrollbar to its minimum position.
property : Range
Notes : The range of the scrollbar (read only).
property : iValue
Notes : The position of the scrollbar.
#**********************************************************************
Class : StaticText
property : sValue
Notes : The text in the static text (read only).
#**********************************************************************
Class : TextField
property : bIsMulti
Notes : Whether the text field is a multi-line text field (read only).
property : lsValue
Notes : The text in the multi-line text field.
property : sValue
Notes : The text in the single-line text field.
Class : UpDown
Method : updown.SetToMax ()
Notes : Increments the updown control until it reaches its maximum value.
property : Range
Notes : The range of the updown control (read only).
property : iValue
Notes : The position of the updown control.
property : sValue
Notes : The current text of the updown control.
#**********************************************************************
Class : GuptaTable
Method : table.PrintContents ()
Notes : Prints the contents of the entire table to the results file.
#**********************************************************************
Class : Table
Method : table.SetFocusColumn(iCol)
Parameter : iCol : The column to set focus to. (INTEGER)
Notes : Sets the focus to a column in a table.
Method : table.SetFocusRow(iRow)
Parameter : iRow : The row to set focus to. (INTEGER)
Notes : Sets the focus to a row in a table.
property : lsContents
Notes : The contents of the table (read only).
property : bIsMulti
Notes : Whether the table supports multiple selections (read only).
property : iRowCount
Notes : The number of rows in the table (read only).
property : iColCount
Notes : The number of columns in the table (read only).
property : iValue
Notes : The selected cell in the single-selection table.
property : liValue
Notes : The cells of all selected cells in the table (read only).
property : lsValue
Notes : The text of all selected cells in the table (read only).
property : sValue
Notes : The text of the selected cell in the single-selection table.
#**********************************************************************
Class : TaskbarWin
Method : taskbar.SetActive ()
Notes : Makes the Windows 95/NT taskbar active.