Book Index
A
abort
function (JavaScript); see XMLHttpRequest.abort()- Accelerator, keyboard; see Keyboard Shortcuts
- Access application objects, how to; see How to Identify and Access Objects, Equivalent Script API, Constructors, Functions and Properties, Object Access Functions
- Activate Editor action (Squish IDE)
- activateAction(objectName) function (Java)
- activateBrowserTab(tab) function (Web)
activateItem
function: activateItem(objectOrName, itemText) (Java); activateItem(objectOrName) (Mac OS X); activateItem(itemObject) (Qt); activateItem(objectName, itemText) (Tk); activateItem(objectName, itemText) (XView)- activateLink(objectOrName, Url) function (Qt)
- activeBrowserTab() function (Web)
- ActiveX, testing; see How to Automate Native Browser Dialogs, ActiveX, and more
add
function; see objectMap.add(object)- Add Symbolic Name action (Squish IDE)
addClickHook
function (Web); see Squish.addClickHook(function)addEventObjectHook
function (Web); see Squish.addEventObjectHook(function)addEventToStringHook
function (Web); see Squish.addEventToStringHook(function)addEventTypeHook
function (Web); see Squish.addEventTypeHook(function)addItemTextForEventObjectHook
function (Web); see Squish.addItemTextForEventObjectHook(function)addMatchObjectHook
function (Web); see Squish.addMatchObjectHook(function)addNameOfHook
function (Web); see Squish.addNameOfHook(function)addTypeOfHook
function (Web); see Squish.addTypeOfHook(function)addUnmatchedProperty
function (Web); see Squish.addUnmatchedProperty(objectName, propertyName)- androidUiAutomator() function
append
function (JavaScript); see data.append(key, value)- Application bindings; see How to Create and Access Application Bindings
- Application objects, creating and accessing; see Equivalent Script API, Constructors, Functions and Properties, Object Access Functions
- Application Objects view (Squish IDE)
- Application spying; see How to Use the Spy
- Application Under Test; see under "AUT"
- applicationContext(name) function
ApplicationContext
objects; see How to Use ApplicationContext Objects, Application Context- applicationContext.detach() function
- applicationContext.environmentVariable(name) function
- applicationContext.isFrozen(timeout) function
- applicationContext.readStderr() function
- applicationContext.readStdout() function
- applicationContextList() function
- Artificial properties
assert
function (JavaScript); see console.assert(bool, string [optional])- asyncClickItem(objectName, itemIdentifier, x, y, modifierState, button) function (Tk)
- asyncDoubleClickItem(objectName, itemIdentifier, x, y, modifierState, button) function (Tk)
- asyncMouseClick(objectName, x, y, modifierState, button) function (Tk)
- asyncType(objectName, text) function (Tk)
at
function: Object JavaArray.at(index) (Java); Object HTML_Array.at(index) (Web)attachDesktopScreenshot
function; see test.attachDesktopScreenshot(message)attachFile
function; see test.attachFile(pathToFile, message)attachImage
function; see test.attachImage(image, message)- Attaching to running applications; see Attaching to Running Applications
- attachToApplication(autName) function
- attachToBrowser(portOrWindowTitle) function (Web)
- AUT (Application Under Test), making testable; see Making an Application Testable
- AUT Paths; see AUT Paths and Mapped AUTs
- Automated batch testing; see How to Do Automated Batch Testing, Automated Batch Testing
- automateLogin(username, password) function (Web)
- Automatic screenshots; see How to Create Automatic Screenshots on Test Failures and Errors
availableDevices
function; see List CanBusDevice.availableDevices(driver)
B
- Batch files (
.bat
) as AUTs; see Shell Scripts and .bat-Files as AUT - Batch testing, automated; see How to Do Automated Batch Testing, Automated Batch Testing
- Bindings, application; see How to Create and Access Application Bindings, AUT Script Bindings—Creating and Accessing
breakpoint
function; see test.breakpoint()- Breakpoints, in the Squish IDE; see How to Use the Script Debugger
- Breakpoints view (Squish IDE)
- Browser.majorVersion() function (Web)
- Browser.name() function (Web)
- Browser.type() function (Web)
- BrowserTab.close() function (Web)
- BrowserTab.setUrl(url, timeout) function (Web)
- browserTabs() function (Web)
- Build variables; see Overriding Build Variables
byIndex
function; see Screen.byIndex(index)byName
function; see ToplevelWindow.byName(objectname, timeout)byObject
function; see ToplevelWindow.byObject(object)
C
- C++ API; see 's C++ API
- Call Hierarchy view (Squish IDE)
call
function (Web); see String JsObject.call(methodname, methodarguments)- Calling functions; see Equivalent Script API
- CanBusDevice CanBusDevice(driver, device) function
- CanBusDevice.availableDevices(driver) function
- CanBusDevice.connectDevice() function
- CanBusDevice.disconnectDevice() function
- CanBusDevice.pluginNames() function
- CanBusDevice.readAllFrames() function
- CanBusFrame CanBusDevice.readFrame(timeout) function
- CanBusDevice.writeFrame(frame) function
- CanBusFrame CanBusFrame() function
- CanBusFrame.toString()() function
- CanBusFrameReceiver CanBusFrameReceiver(device) function
- CanBusFrameReceiver.clearHistory(frameId) function
- CanBusFrameReceiver.frameCount(frameId) function
- CanBusFrame CanBusFrameReceiver.latestFrame(frameId) function
- CanBusFrame CanBusFrameReceiver.pastFrame(frameId, index) function
- CanBusFrame CanBusFrameReceiver.pastFrames(frameId) function
- CanBusFrameReceiver.setHistorySize(frameId, length) function
- CanBusFrameReceiver.waitForFrame(filter, timeout) function
- CanBusFrameRepeater CanBusFrameRepeater(device) function
- Cancel action (Squish IDE)
- cancelPrompt() function (Web)
capture
function (JavaScript); see String OS.capture(command)- cast(object, type) function
- castToQMenuData(object) function (Qt)
- castToQObject(object) function (Qt)
- Catching exceptions; see How to Handle Exceptions Raised in Test Scripts
cellAt
function (Web); see HTML_Object HTML_TabWidget.cellAt(row, column)center
function; see ScreenPoint center()chdir
function (JavaScript); see OS.chdir(path)- Check Object Existence action (Squish IDE)
childItem
function: HTML_CustomItem HTML_CustomItem.childItem() (Web); HTML_CustomItem HTML_CustomItemView.childItem() (Web)children
function; see SequenceOfObjects object.children(object)choice
function; see string testInteraction.choice(message, items)chooseColor
function: chooseColor(objectOrName, red, green, blue) (Java); chooseColor(objectOrName, htmlRGBvalue) (Web)chooseDate
function: chooseDate(objectOrName, date) (Web)- chooseDirectory(objectOrName, path) function (Java)
chooseFile
function: chooseFile(objectOrName, filename) (Java); chooseFile(filepath) (Web); chooseFile(path) (Windows)- chooseFile(objectOrName, array of filenames) function (Java)
className
function: str className(object); String HTML_Object.className() (Web)cleanString
function (Web); see String Squish.cleanString(s)- cleanup() function
- clearAlertText() function (Web)
- clearConfirmText() function (Web)
clearHistory
function; see CanBusFrameReceiver.clearHistory(frameId)clearObjectCache
function: Object QWebView.clearObjectCache() (Qt); clearObjectCache() (Web)- clearPromptDefault(browserTab) function (Web)
- clearPromptText(browserTab) function (Web)
clearWebObjectCache
function: clearWebObjectCache() (iPhone); clearWebObjectCache() (Mac OS X)click
function: HTML_Anchor.click() (Web); HTML_ButtonBase.click() (Web); HTML_CheckBox.click() (Web); HTML_Object.click() (Web); HTML_RadioButton.click() (Web)clickButton
function: clickButton(objectOrName) (Java); —deprecated— clickButton(objectOrName) (Mac OS X); clickButton(objectOrName) (Qt); clickButton(objectName) (Tk); Squish.clickButton(buttonElement) (Web); clickButton(objectOrName) (Web); clickButton(objectOrName) (Windows)clickHandle
function (Web); see HTML_CustomItemView.clickHandle(itemName)clickItem
function: clickItem(objectOrName, itemOrIndex, x, y) (Java); clickItem(objectOrName, itemOrIndex, x, y, modifierState, button) (Qt); clickItem(objectName, itemIdentifier, x, y, modifierState, button) (Tk); HTML_CustomItemView.clickItem(itemName) (Web); clickItem(objectOrName, itemText) (Web); clickItem(objectOrName, itemText) (Windows); clickItem(object, x, y, state, button, action) (XView)- clickLink(objectOrName) function (Web)
- clickObject(objectOrName) function (iPhone)
clickTab
function: clickTab(objectOrName, tabText) (Java); —deprecated— clickTab(objectOrName) (Mac OS X); clickTab(objectOrName, tabText) (Qt); HTML_TabWidget.clickTab(tabTitle) (Web); clickTab(objectOrName, tabTitle) (Web)clickTreeHandle
function: clickTreeHandle(objectOrName, itemText) (Java); clickTreeHandle(objectOrName, itemText) (Web)close
function: Boolean RemoteSystem.close(); close(); sqlConnection.close() (JavaScript); file.close() (JavaScript); socket.close() (JavaScript); websocket.close() (JavaScript); BrowserTab.close() (Web)- Close action (Squish IDE)
- Close All action (Squish IDE)
- Close All Perspectives action (Squish IDE)
- Close Perspective action (Squish IDE)
- closeAlert(":dummy") function (Web)
- closeConfirm(":dummy", confirmed) function (Web)
- closeFrame(frame) function (XView)
- closeMessageBox(objectOrName, result) function (Java)
- closeNotice(button, result) function (XView)
- closePrompt(":dummy", text) function (Web)
closeWindow
function: closeWindow(objectOrName) (Java); closeWindow(objectName) (Tk); closeWindow(":[Window]") (Web)collapse
function: collapse(treeItem) (Java); collapse(objectOrName) (Windows)- collapseItem(objectOrName, itemName) function (Windows)
- Collect Information for Squish Support dialog (Squish IDE)
columnCaption
function (Web); see String HTML_CustomItemView.columnCaption(column)- Command files; see Command Files
compare
function; see Boolean test.compare(value1, value2)compareJSONFiles
function; see Boolean test.compareJSONFiles(expectedFilePath, actualFilePath)compareTextFiles
function; see Boolean test.compareTextFiles(expectedFilePath, actualFilePath)compareXMLFiles
function; see Boolean test.compareXMLFiles(expectedFilePath, actualFilePath)- Comparing external files; see How to Compare External Files inside Test Scripts
- configure switches; see Configure Switches and configure
- Configuring Squish; see Configuring the Package, configure
connect
function: SQLConnection SQL.connect(informationObject) (JavaScript); socket Socket.connect(host, port) (JavaScript); WebSocket WebSocket.connect( hostname) (JavaScript)connectDevice
function; see CanBusDevice.connectDevice()- connectTo(target) function
- Console view (Squish IDE)
- console.assert(bool, string [optional]) function (JavaScript)
constructor
function; see RemoteSystem RemoteSystem()containerFor
function (Qt); see Item SquishHook.containerFor(item)- Content Assist action (Squish IDE)
- contextList() function (Web)
- contextOf(window) function (Web)
- Conversions, type; see Conversion Functions
- Convert Line Delimiters To action (Squish IDE)
convertTo
function; see Object object.convertTo(object, typeName)- convertvp tool; see convertvp
copy
function: Image.copy(); Boolean RemoteSystem.copy(sourcePath, destinationPath); File.copy(source, target) (JavaScript)- Copy action (Squish IDE)
count
function; see Screen.count()create
function: Fmi2Import Fmi2Import.create(filename, workingDirectory); String testData.create(where, filename)createChooseDateInformation
function (Web); see String Squish.createChooseDateInformation(jsDate)createClickItemInformationForMenuItem
function (Web); see String Squish.createClickItemInformationForMenuItem(menuElement, menuText)createClickTabInformation
function (Web); see String Squish.createClickTabInformation(tabWidgeElement, tabTitle)createDirectory
function; see Boolean RemoteSystem.createDirectory(path)createItemName
function (Web); see String Squish.createItemName(viewObjectName, itemText)createMultiOptionString
function (Web); see String Squish.createMultiOptionString(arrayOfSelectedOptions)createNull
function; see Object object.createNull(type)createPath
function; see Boolean RemoteSystem.createPath(path)createTextFile
function; see Boolean RemoteSystem.createTextFile(path, content)- createVisualVP(objectNameOrReference, vpFile) function
- Creating application objects; see Equivalent Script API, Constructors, Functions and Properties
- CssColor CssColor.fromRgb(red, green, blue) function (Web)
- CssColor CssColor.fromRgba(red, green, blue, alpha) function (Web)
- currentApplicationContext() function
- currentContext() function (Web)
- Customize Perspective action (Squish IDE)
- Customize Perspective dialog (Squish IDE)
- Customizing object name generation; see Defining Property Sets
- Cut action (Squish IDE)
cwd
function (JavaScript); see String OS.cwd()
D
- Data-driven testing; see How to Do Data-Driven Testing
- Data, for tests; see How to Use Test Data in the AUT
- Data handling; see Test Data Functions, Test Data Functions
- Database access; see How to Access Databases from Squish Test Scripts
dataset
function; see Dataset testData.dataset(filename)datasetExcel
function; see Dataset testData.datasetExcel(filename, sheetname)DateTime
function; see DateTime UiTypes.DateTime()- Debug libraries, using Qt with; see Installation Overview
- Debug view (Squish IDE)
- Debugging test scripts; see How to Edit and Debug Test Scripts, Debugging Functions
- defaultApplicationContext() function
- Delete action (Squish IDE)
- Delete Test Suite action (Squish IDE)
deleteDirectory
function; see Boolean RemoteSystem.deleteDirectory(path)deleteFile
function; see Boolean RemoteSystem.deleteFile(path)- Descriptor files for object name generation; see Defining Property Sets
deselectByIndexes
function (Web); see HTML_Select.deselectByIndexes(indexes)deselectByTexts
function (Web); see HTML_Select.deselectByTexts(texts)deselectByValues
function (Web); see HTML_Select.deselectByValues(values)detach
function; see applicationContext.detach()- Differences, image; see convertvp
disconnectDevice
function; see CanBusDevice.disconnectDevice()- Distributed tests; see Distributed Tests
- Distributing and sharing Squish installations; see Distributing and Sharing an Installation
doubleClick
function: doubleClick(screenPoint, modifierState, button); doubleClick(objectOrName) (iPhone); doubleClick(objectOrName, x, y, modifierState, button) (Java); doubleClick(objectOrName) (Mac OS X); doubleClick(objectOrName, x, y, modifierState, button) (Qt); doubleClick(objectName, x, y, modifierState, button) (Tk); HTML_Object.doubleClick() (Web); doubleClick(objectOrName, x, y) (Web); doubleClick(objectOrName) (Windows)doubleClickItem
function: doubleClickItem(objectOrName, itemText, x, y) (Java); doubleClickItem(objectOrName, itemText, x, y, modifierState, button) (Qt); doubleClickItem(objectName, itemText, x, y, modifierState, button) (Tk); HTML_CustomItemView.doubleClickItem(itemName) (Web); doubleClickItem(objectOrName, itemText) (Windows)doubleTap
function: doubleTap(objectOrName); doubleTap(objectOrName) (iPhone); doubleTap(objectOrName) (Qt)download
function; see Boolean RemoteSystem.download(remotePath, localPath)dragAndDrop
function: dragAndDrop(source_objectOrName, sx, sy, target_objectOrName, tx, ty, operation) (Java); dragAndDrop(source_objectOrName, sx, sy, target_objectOrName, tx, ty, action) (Qt); dragAndDrop(sourceObjectName, sourcex, sourcey, targetObjectName, targetx, targety) (Tk); dragAndDrop(src_objectOrName, sx, sy, target_objectOrName, tx, ty) (Web); dragAndDrop(source_objectOrName, target_objectOrName) (Windows)dragItemBy
function: dragItemBy(objectOrName, x, y, dx, dy, modifierState, button) (Java); dragItemBy(objectOrName, x, y, dx, dy, modifierState, button) (Qt)dropOn
function: dropOn(target_objectOrName, tx, ty, operation) (Java); dropOn(target_objectOrName, tx, ty, action) (Qt); dropOn(target_objectOrName, tx, ty) (Web)
E
- Editor view (Squish IDE)
endSection
function; see test.endSection()- Enumerations (enums); see How to Access Qt Enums
- Environment variables; see How to Read Environment Variables inside Test Scripts, Setting Environment Variables, Environment Variables
environmentVariable
function; see String applicationContext.environmentVariable(name)equals
function; see Boolean Image.equals(otherImage)evalJS
function: WebView.evalJS(script); Object QWebView.evalJS(code) (Qt); Object evalJS(browserTab, code) (Web)evaluateXPath
function (Web); see HTML_XPathResult HTML_Object.evaluateXPath(statement)- Event handlers, how to use; see How to Use Event Handlers
- Exact name matching; see Exact Matching
exception
function; see Boolean test.exception(code)- Exception handling; see How to Handle Exceptions Raised in Test Scripts
execute
function: list RemoteSystem.execute(cmd); Number sqlConnection.execute(sql) (JavaScript)- Executing test cases; see squishrunner --testsuite: Running tests in batch mode, Executing a Test Case (Advanced)
exists
function: Boolean RemoteSystem.exists(path); Boolean File.exists(fileOrDirectory) (JavaScript); Boolean object.exists(objectName); Boolean testData.exists(filename)expand
function: expand(treeItem) (Java); expand(objectOrName) (Windows)- expandItem(objectOrName, itemText) function (Windows)
- Extension API, JavaScript; see JavaScript Extension API
- External file handling; see How to Interact with External Files in Test Scripts
- External files, comparing; see How to Compare External Files inside Test Scripts
extraPropertiesFor
function (Qt); see StringList SquishHook.extraPropertiesFor(item)
F
fail
function; see test.fail(message)fatal
function; see test.fatal(message)field
function; see String testData.field(record, fieldName)fieldNames
function; see SequenceOfStrings testData.fieldNames(record)- File action (Squish IDE)
- File encoding for test scripts; see Unicode UTF-8 File Encoding
- file.close() function (JavaScript)
- File.copy(source, target) function (JavaScript)
- File.exists(fileOrDirectory) function (JavaScript)
- File.glob(pattern, [pattern...]) function (JavaScript)
- File File.open(fileName) function (JavaScript)
- file.read() function (JavaScript)
- file.readln() function (JavaScript)
- File.remove(fileName) function (JavaScript)
- File.size(fileName) function (JavaScript)
- file.write(string) function (JavaScript)
- Files, comparing external; see How to Compare External Files inside Test Scripts
- Files, handling external; see How to Interact with External Files in Test Scripts
- Find Actions action (Squish IDE)
- Find and Replace action (Squish IDE)
- Find Next action (Squish IDE)
- Find Previous action (Squish IDE)
- findAllObjects(objectName) function
- findAllOcrText(text, [parameterMap], [searchRegion]) function
- findFile(where, filename) function
- findImage(imageFile, [parameterMap], [searchRegion]) function
findItem
function: HTML_CustomItem HTML_CustomItem.findItem(row, column) (Web); HTML_CustomItem HTML_CustomItemView.findItem(itemName) (Web); Object findItem(itemName) (XView)findItemByIconUrl
function (Web); see HTML_MenuItem HTML_Menu.findItemByIconUrl(iconUrl)findItemByText
function (Web); see HTML_MenuItem HTML_Menu.findItemByText(text)- findObject(objectName) function
- findOcrText(text, [parameterMap], [searchRegion]) function
- Find/Replace dialog (Squish IDE)
findTab
function (Web); see HTML_TabWidget.findTab(tabTitle)firstChild
function (Web); see HTML_Object HTML_Object.firstChild()fixateResultContext
function; see test.fixateResultContext()- flick(objectOrName, x, y, dx, dy, cdx, cdy) function (Qt)
- Fmi2Import Fmi2Import.create(filename, workingDirectory) function
- Fmi2Import.getCapability(capability) function
- Fmi2State Fmi2Import.getState() function
- Fmi2Import.run(runtime, stepSize, timeFactor) function
- Fmi2Import.runDetached(stepSize, timeFactor) function
- Fmi2Import.setState(state) function
- Fmi2Import.setValue(variables, values) function
- Fmi2Import.sync() function
focus
function: HTML_CustomText.focus() (Web); HTML_FormElement.focus() (Web)focused
function; see ToplevelWindow.focused()- focusedWindow() function (Windows)
- FormData.data.append(key, value) function (JavaScript)
- FormData.data.get(key) function (JavaScript)
- FormData.data.getAll(key) function (JavaScript)
- FormData.data.has(key) function (JavaScript)
- FormData.data.remove(key) function (JavaScript)
- FormData.data.set(key, value) function (JavaScript)
frameCount
function; see Integer CanBusFrameReceiver.frameCount(frameId)fromRgb
function (Web); see CssColor CssColor.fromRgb(red, green, blue)fromRgba
function (Web); see CssColor CssColor.fromRgba(red, green, blue, alpha)- Functions, modifying Squish; see How to Modify Functions
G
- Generation of object names; see Object Name Generation
gesture
function: gesture(objectOrName, touches); gesture(objectOrName, touches) (iPhone); gesture(objectOrName, touches) (Java); gesture(objectOrName, touches) (Qt); gesture(objectOrName, touches) (Windows)GestureBuilder.scale
function: Object GestureBuilder.scale(scaleX, scaleY, originX, originY); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (iPhone); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (Java); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (Qt); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (Windows)GestureBuilder.translate
function: Object GestureBuilder.translate(x, y); Object GestureBuilder.translate(x, y) (iPhone); Object GestureBuilder.translate(x, y) (Java); Object GestureBuilder.translate(x, y) (Qt); Object GestureBuilder.translate(x, y) (Windows)get
function: String data.get(key) (JavaScript); testData.get(filename)getAll
function (JavaScript); see ListOfString data.getAll(key)getAllResponseHeaders
function (JavaScript); see String XMLHttpRequest.getAllResponseHeaders()getAttribute
function (JavaScript); see String xmlNode.getAttribute(attributeName)getAttributeNames
function (JavaScript); see ListOfString xmlNode.getAttributeNames()getCapability
function; see Fmi2Import.getCapability(capability)- getClipboardText() function
getCurrentTab
function (Web); see HTML_TabWidget.getCurrentTab()getElementByClassName
function (Web); see HTMLElement Squish.getElementByClassName(contextNode, className, tagName)getElementById
function (Web); see HTML_Object HTML_Document.getElementById(id)getElementsByClassName
function (Web); see Array Squish.getElementsByClassName(contextNode, className, tagName)getElementsByTagName
function: ListOfXMLNode xmlNode.getElementsByTagName(tagName) (JavaScript); HTML_Array HTML_Document.getElementsByTagName(tagName) (Web)getenv
function (JavaScript); see String OS.getenv(name)getEnvironmentVariable
function; see String RemoteSystem.getEnvironmentVariable(variableName)getEventSourceElement
function (Web); see Event Squish.getEventSourceElement(event)- getOcrText([parameterMap], [searchRegion]) function
getOSName
function; see String RemoteSystem.getOSName()getPassword
function; see String testSettings.getPassword(key)getPixel
function; see Number Image.getPixel(x, y)getPixelRGBA
function; see Number Image.getPixelRGBA(x, y)getResponseHeader
function (JavaScript); see String XMLHttpRequest.getResponseHeader(header)getSelectedOptionTexts
function (Web); see ArrayOfStrings Squish.getSelectedOptionTexts(selectElement)getSingleValueByXPath
function (JavaScript); see jsValue XMLNode.getSingleValueByXPath(XPathExpression)getState
function; see Fmi2State Fmi2Import.getState()- Getting property values; see Equivalent Script API
getValuesByXPath
function (JavaScript); see jsTupelOfValues XMLNode.getValuesByXPath(XPath.Expression)getWrappersForApplication
function; see SequenceOfStrings testSettings.getWrappersForApplication(application)glob
function (JavaScript); see StringList File.glob(pattern, [pattern...])- Global Scripts view (Squish IDE)
globalBounds
function; see ScreenRectangle object.globalBounds(object)- goBack(objectOrName) function
- goHome() function
- goNotifications() function
- goQuickSettings() function
- goRecents() function
- grabDesktopScreenshot() function
grabScreenshot
function; see Image object.grabScreenshot(object, [parameterMap])grabWidget
function: QImage grabWidget(object);
H
has
function (JavaScript); see Boolean data.has(key)hasAttribute
function (JavaScript); see Boolean xmlNode.hasAttribute(attributeName)hasClassName
function (Web); see Boolean Squish.hasClassName(objectOrName, className)- hasContext(context) function (Web)
- hasFrameContext(browserTab, context) function (Web)
hasItem
function (Web); see Boolean HTML_CustomItemView.hasItem(itemName)hasOption
function: Boolean HTML_CustomComboBox.hasOption(option) (Web); Boolean HTML_CustomSelectList.hasOption(option) (Web)hideKeyboard
function: hideKeyboard(object); hideKeyboard() (iPhone)hierarchicalQualifiedName
function (Web); see String HTML_Object.hierarchicalQualifiedName()- highlightObject(objectOrName, [msec]) function
- Hooking into the AUT; see Using the Built-in Hook
- How Squish works; see Squish Concepts
- HTML_Anchor.click() function (Web)
- HTML_Array.at(index) function (Web)
- HTML_Button.submit() function (Web)
- HTML_ButtonBase.click() function (Web)
- HTML_CalendarView.numVisibleEvents() function (Web)
- HTML_CalendarEvent HTML_CalendarView.visibleEventAt(index) function (Web)
- HTML_CheckBox.click() function (Web)
- HTML_CustomComboBox.hasOption(option) function (Web)
- HTML_CustomItem HTML_CustomItem.childItem() function (Web)
- HTML_CustomItem HTML_CustomItem.findItem(row, column) function (Web)
- HTML_Object HTML_CustomItem.itemHandle() function (Web)
- HTML_CustomItemView HTML_CustomItem.itemView() function (Web)
- HTML_CustomItem HTML_CustomItem.nextSibling() function (Web)
- HTML_CustomItem HTML_CustomItem.parentItem() function (Web)
- HTML_CustomItem HTML_CustomItemView.childItem() function (Web)
- HTML_CustomItemView.clickHandle(itemName) function (Web)
- HTML_CustomItemView.clickItem(itemName) function (Web)
- HTML_CustomItemView.columnCaption(column) function (Web)
- HTML_CustomItemView.doubleClickItem(itemName) function (Web)
- HTML_CustomItem HTML_CustomItemView.findItem(itemName) function (Web)
- HTML_CustomItemView.hasItem(itemName) function (Web)
- HTML_CustomItemView.isOpen(itemName) function (Web)
- HTML_CustomItemView.isSelected(itemName) function (Web)
- HTML_CustomSelectList.hasOption(option) function (Web)
- HTML_CustomText.focus() function (Web)
- HTML_Object HTML_Document.getElementById(id) function (Web)
- HTML_Array HTML_Document.getElementsByTagName(tagName) function (Web)
- HTML_Form.submit() function (Web)
- HTML_FormElement.focus() function (Web)
- HTML_MenuItem HTML_Menu.findItemByIconUrl(iconUrl) function (Web)
- HTML_MenuItem HTML_Menu.findItemByText(text) function (Web)
- HTML_MenuItem HTML_Menu.itemAt(index) function (Web)
- HTML_Menu HTML_MenuButton.menu() function (Web)
- HTML_Menu HTML_MenuItem.parentMenu() function (Web)
- HTML_Menu HTML_MenuItem.subMenu() function (Web)
- HTML_Object.className() function (Web)
- HTML_Object.click() function (Web)
- HTML_Object.doubleClick() function (Web)
- HTML_XPathResult HTML_Object.evaluateXPath(statement) function (Web)
- HTML_Object HTML_Object.firstChild() function (Web)
- HTML_Object.hierarchicalQualifiedName() function (Web)
- HTML_Object.invoke(methodName) function (Web)
- HTML_Object HTML_Object.lastChild() function (Web)
- HTML_Object.name() function (Web)
- HTML_Object HTML_Object.nextSibling() function (Web)
- HTML_Object.openContextMenu() function (Web)
- HTML_Object HTML_Object.parentElement() function (Web)
- HTML_Object HTML_Object.previousSibling() function (Web)
- HTML_Object.property(name) function (Web)
- HTML_Object.scrollTo(top) function (Web)
- HTML_Object.setProperty(name, value) function (Web)
- HTML_Style HTML_Object.style() function (Web)
- HTML_Object.styleVisibility() function (Web)
- HTML_RadioButton.click() function (Web)
- HTML_Select.deselectByIndexes(indexes) function (Web)
- HTML_Select.deselectByTexts(texts) function (Web)
- HTML_Select.deselectByValues(values) function (Web)
- HTML_Select.isMulti() function (Web)
- HTML_Option HTML_Select.optionAt(index) function (Web)
- HTML_Array HTML_Select.options() function (Web)
- HTML_Select.setSelectedOption(text) function (Web)
- HTML_Select.setSelectedOptionByValue(value) function (Web)
- HTML_Select.setSelectedOptions(listOfTexts) function (Web)
- HTML_Select.setSelectedOptionsByValue(listOfValues) function (Web)
- HTML_Style.value(name) function (Web)
- HTML_Object HTML_TabWidget.cellAt(row, column) function (Web)
- HTML_TabWidget.clickTab(tabTitle) function (Web)
- HTML_TabWidget.findTab(tabTitle) function (Web)
- HTML_TabWidget.getCurrentTab() function (Web)
- HTML_TextBase.selectAll() function (Web)
- HTML_Object HTML_XPathResult.singleNodeValue() function (Web)
- HTML_Object HTML_XPathResult.snapshotItem(index) function (Web)
I
ide.ini
file; see Squish Initialization Files- Identify application objects, how to; see How to Identify and Access Objects, Improving Object Identification
- Image(QImage) function
- Image differences; see convertvp
- Image Not Found dialog (Squish IDE)
- Image object
- Image Search Preview dialog (Squish IDE)
- Image Selection Editor view (Squish IDE)
- Image Viewer (Squish IDE)
- Image.copy() function
- Image.equals(otherImage) function
- Image.getPixel(x, y) function
- Image.getPixelRGBA(x, y) function
- Image.load(fileName) function
- Image.save(fileName) function
- Image.setPixel(x, y, rgbColor) function
imageNotPresent
function; see Boolean test.imageNotPresent(imageFile, [parameterMap], [searchRegion])imagePresent
function; see Boolean test.imagePresent(imageFile, [parameterMap], [searchRegion])- Import Squish Resource dialog (Squish IDE)
- Import Test Resource action (Squish IDE)
information
function; see int testInteraction.information(message).ini
files; see Squish Initialization Files- init() function
input
function; see string testInteraction.input(message, initialText)- Insert > Comment action (Squish IDE)
- Insert > doubleClick(<Image>) action (Squish IDE)
- Insert Doubleclick(<OCR>) action (Squish IDE)
- Insert > mouseClick(<Image>) action (Squish IDE)
- Insert > mouseClick(<OCR>) action (Squish IDE)
- Insert > Start Video Capture action (Squish IDE)
- Insert > Stop Video Capture action (Squish IDE)
- Insert > tapObject(<Image>) action (Squish IDE)
- Insert > tapObject(<OCR>) action (Squish IDE)
installEventHandler
function: installEventHandler(eventName, handlerFunctionNameOrReference); installEventHandler(eventName, handlerFunctionName) (iPhone); installEventHandler(eventName, handlerFunctionNameOrReference) (Java); installEventHandler(eventName, handlerFunctionName) (Mac OS X); installEventHandler(eventName, handlerFunctionName) (Qt); installEventHandler(eventName, handlerFunctionNameOrReference) (Tk); installEventHandler(eventName, handlerFunctionNameOrReference) (Web); installEventHandler(eventName, handlerFunctionNameOrReference) (Windows); installEventHandler(eventName, handlerFunctionNameOrReference) (XView)- installLazySignalHandler(name, signalSignature, handlerFunctionName) function (Qt)
- installSignalHandler(objectOrName, signalSignature, handlerFunctionName) function (Qt)
- Interactive testing; see How to Create Semi-Automatic Tests that Query for User Input
invoke
function (Web); see HTML_Object.invoke(methodName)isAvailable
function; see bool testInteraction.isAvailable()- isBrowserDialogOpen() function (Web)
- isBrowserOpen() function (Web)
- isCustomQmlType(item) function (Qt)
isElementVisible
function (Web); see Boolean Squish.isElementVisible(element)isFrozen
function; see bool applicationContext.isFrozen(timeout)isIgnored
function (Qt); see bool SquishHook.isIgnored(item)isItemReady
function (Qt); see bool SquishHook.isItemReady(item)isMulti
function (Web); see Boolean HTML_Select.isMulti()- isNoticeOpen() function (XView)
- isNull(object) function
isOpen
function (Web); see Boolean HTML_CustomItemView.isOpen(itemName)isPageLoaded
function: Boolean QWebView.isPageLoaded() (Qt); Boolean isPageLoaded(browserTab) (Web)- isQmlType(item, className) function (Qt)
isSelected
function (Web); see Boolean HTML_CustomItemView.isSelected(itemName)itemAt
function (Web); see HTML_MenuItem HTML_Menu.itemAt(index)itemHandle
function (Web); see HTML_Object HTML_CustomItem.itemHandle()- itemHasContents(item) function (Qt)
itemView
function (Web); see HTML_CustomItemView HTML_CustomItem.itemView()
J
- JavaArray(size) function (Java)
- JavaArray.at(index) function (Java)
- JavaArray.set(index, object) function (Java)
- JavaScript extension API; see JavaScript Extension API
- JavaScript-specific notes; see JavaScript Notes and Extension APIs
- JsObject.call(methodname, methodarguments) function (Web)
- JsObject.property(name) function (Web)
K
- Keyboard shortcuts; see Keyboard Shortcuts
- keyPress(key) function
- keyRelease(key) function
L
- Last Edit Location action (Squish IDE)
- lastAlertText(browserTab) function (Web)
lastChild
function (Web); see HTML_Object HTML_Object.lastChild()- lastConfirmText(browserTab) function (Web)
- lastNoticeMessage() function (XView)
- lastPromptDefault(browserTab) function (Web)
- lastPromptText(browserTab) function (Web)
latestFrame
function; see CanBusFrame CanBusFrameReceiver.latestFrame(frameId)- Launch AUT action (Squish IDE)
listDir
function (JavaScript); see Array OS.listDir(path)listFiles
function; see StringList RemoteSystem.listFiles(path)load
function: Image Image.load(fileName); objectMap.load(filename)loadUrl
function: QWebView.loadUrl(url) (Qt); loadUrl(url) (Web)log
function; see test.log(message)- longMouseClick(objectOrName, x, y, modifierState, button) function (Qt)
- longMouseDrag(objectOrName, x, y, dx, dy, modifierState, button) function (Qt)
- longPress(objectOrName) function
- longPressAndDrag(objectOrName, dx, dy) function
M
- main() function
majorVersion
function (Web); see String Browser.majorVersion()- Mapped AUTs; see AUT Paths and Mapped AUTs
matchProperty
function (Web); see Boolean Squish.matchProperty(valueObject, property)maximize
function; see maximize()- Maximize Active View or Editor action (Squish IDE)
menu
function (Web); see HTML_Menu HTML_MenuButton.menu()- Methods view (Squish IDE)
minimize
function; see minimize()- Minimize Active View or Editor action (Squish IDE)
mkpath
function (JavaScript); see Boolean OS.mkpath(path)- Modifying Squish functions; see How to Modify Functions
- Monkey testing; see How to Do Automatic Stress Testing on Qt
mouseClick
function: mouseClick(objectOrName) (Java); mouseClick(objectOrName) (Mac OS X); mouseClick(screenPoint, modifierState, button); mouseClick(objectOrName, x, y, modifierState, button) (Qt); mouseClick(objectName, x, y, modifierState, button) (Tk); Squish.mouseClick(objectOrName) (Web); mouseClick(objectOrName) (Web); mouseClick(objectOrName) (Windows)mouseDrag
function: mouseDrag(objectOrName, x, y, dx, dy, modifierState, button) (Java); mouseDrag(objectOrName, x, y, dx, dy) (Mac OS X); mouseDrag(objectOrName, x, y, dx, dy, modifierState, button) (Qt); mouseDrag(objectOrName, dx, dy) (Windows)- mouseMove(x, y) function
mousePress
function: mousePress(); mousePress() (Windows)mouseRelease
function: mouseRelease(); mouseRelease() (Windows)mouseWheel
function: mouseWheel(n) (Java); mouseWheel(objectOrName, x, y, xdegrees, ydegrees) (Qt); mouseWheel(n) (Windows)- Move action (Squish IDE)
moveTo
function; see moveTo(x, y)- Multi-property (real) names; see How to Identify and Access Objects
- multiple AUTs, testing in the same test; see How to Test Multiple AUTs from a Single Test Script, Using ApplicationContext
N
name
function: String Browser.name() (Web); String HTML_Object.name() (Web)- Name matching; see Exact Matching, Wildcard Matching, Regular Expression Matching, Name Generation
nameOf
function (Web); see String Squish.nameOf(objectOrName)- Names, generation of object; see Object Name Generation
- Names used by Squish, real (multi-property) and symbolic; see How to Identify and Access Objects, Improving Object Identification
- Native browser dialogs, testing; see How to Automate Native Browser Dialogs, ActiveX, and more
- nativeGesture(touches) function
nativeMouseClick
function: nativeMouseClick(objectOrName) (Java); nativeMouseClick(x, y, button); nativeMouseClick(objectOrName, x, y, modifierState, button) (Qt); nativeMouseClick(objectOrName, button) (Web)- nativeTap(x, y) function
- nativeType(keys) function
- New action (Squish IDE)
- New dialog (Squish IDE)
- New Squish Test Case wizard (Squish IDE)
- New Squish Test Data dialog (Squish IDE)
- New Squish Test Script dialog (Squish IDE)
- New Squish Test Suite wizard (Squish IDE)
- New Test Case action (Squish IDE)
- New Test Suite action (Squish IDE)
- Next Annotation action (Squish IDE)
- Next Editor action (Squish IDE)
- Next Perspective action (Squish IDE)
- Next View action (Squish IDE)
nextSibling
function: HTML_CustomItem HTML_CustomItem.nextSibling() (Web); HTML_Object HTML_Object.nextSibling() (Web)notification
function; see void testInteraction.notification(message)numVisibleEvents
function (Web); see int HTML_CalendarView.numVisibleEvents()
O
- Object Map; see Object Map Functions, Object Map, Object Map view, How to Use the Spy, Improving Object Identification
- Object Map view (Squish IDE)
- Object names, generation of; see Object Name Generation
- Object Not Found dialog (Squish IDE)
- object.children(object) function
- object.convertTo(object, typeName) function
- object.createNull(type) function
- object.exists(objectName) function
- object.globalBounds(object) function
- object.grabScreenshot(object, [parameterMap]) function
- object.parent(object) function
- object.properties(object) function
- object.topLevelObjects() function
- objectMap.add(object) function
- objectMap.load(filename) function
- objectMap.realName(object) function
- objectMap.symbolicName(object) function
- objectMap.symbolicNames() function
ObjectName
function (Web); see Squish.ObjectName Squish.ObjectName()ObjectName.addProperty
function (Web); see ObjectName.addProperty(propertyName, propertyValue)ObjectName.getPropertyNames
function (Web); see ListOfStrings ObjectName.getPropertyNames()ObjectName.getPropertyValue
function (Web); see PropertyValue ObjectName.getPropertyValue(propertyName)ObjectName.removeProperty
function (Web); see ObjectName.removeProperty(propertyName)- Objects, creating and accessing application; see Equivalent Script API, Constructors, Functions and Properties, Object Access Functions, Improving Object Identification
- OCR Selection dialog (Squish IDE)
ocrTextNotPresent
function; see Boolean test.ocrTextNotPresent(text, [parameterMap], [searchRegion])ocrTextPresent
function; see Boolean test.ocrTextPresent(text, [parameterMap], [searchRegion])open
function: File File.open(fileName) (JavaScript); XMLHttpRequest.open(method, url, async, [username], [password]) (JavaScript)- Open Perspective action (Squish IDE)
- Open Perspective dialog (Squish IDE)
- Open Test Suite action (Squish IDE)
openContextMenu
function: openContextMenu(objectOrName, x, y, modifierState) (Qt); HTML_Object.openContextMenu() (Web)- openFrame(frame) function (XView)
- openItemContextMenu(objectOrName, itemText, x, y, modifierState) function (Qt)
- openMenu(objectOrName) function
- openNewTab(url) function (Web)
optionAt
function (Web); see HTML_Option HTML_Select.optionAt(index)options
function (Web); see HTML_Array HTML_Select.options()- OS.capture(command) function (JavaScript)
- OS.chdir(path) function (JavaScript)
- OS.cwd() function (JavaScript)
- OS.getenv(name) function (JavaScript)
- OS.listDir(path) function (JavaScript)
- OS.mkpath(path) function (JavaScript)
- OS.pause(msecs) function (JavaScript)
- OS.removeRecursively(path) function (JavaScript)
- OS.rmdir(path) function (JavaScript)
- OS.setenv(name, value) function (JavaScript)
- OS.system(command) function (JavaScript)
- Outline view (Squish IDE)
P
parent
function; see Object object.parent(object)parentElement
function (Web); see HTML_Object HTML_Object.parentElement()parentItem
function (Web); see HTML_CustomItem HTML_CustomItem.parentItem()parentMenu
function (Web); see HTML_Menu HTML_MenuItem.parentMenu()parse
function (JavaScript); see XMLNode XML.parse(markup)pass
function; see test.pass(message)passes
function (Python); see test.pass(message)password
function; see string testInteraction.password(message)- Paste action (Squish IDE)
pastFrame
function; see CanBusFrame CanBusFrameReceiver.pastFrame(frameId, index)pastFrames
function; see CanBusFrame CanBusFrameReceiver.pastFrames(frameId)- Paths, AUT; see AUT Paths and Mapped AUTs
paths.ini
file; see Squish Initialization Files- Pause action (Squish IDE)
pause
function (JavaScript); see OS.pause(msecs)- Perl-specific notes; see Perl Notes
pluginNames
function; see List CanBusDevice.pluginNames()- Preferences action (Squish IDE)
- Preferences dialog (Squish IDE)
- pressAndHold(objectOrName, x, y) function (Qt)
- Previous Annotation action (Squish IDE)
- Previous Editor action (Squish IDE)
- Previous Perspective action (Squish IDE)
- Previous View action (Squish IDE)
previousSibling
function (Web); see HTML_Object HTML_Object.previousSibling()- Project action (Squish IDE)
properties
function; see KeyValueMap object.properties(object)- Properties action (Squish IDE)
- Properties; see Equivalent Script API, Artificial Properties
- Properties view (Squish IDE)
propertiesToName
function (Web); see String Squish.propertiesToName(objectOrName, listOfPropertyNames)property
function: String HTML_Object.property(name) (Web); String JsObject.property(name) (Web)- Property sets; see Defining Property Sets
propertyFor
function (Qt); see String SquishHook.propertyFor(item, property)put
function; see testData.put(filename)- Python-specific notes; see Python-specific type conversions, Python Notes
Q
- qmlContext(object) function (Qt)
- qmlEngine(object) function (Qt)
- qmlId(item) function (Qt)
- qmlType(item) function (Qt)
- Qualified names; see How to Identify and Access Objects and Tk Object Names (Qualified Names)
query
function (JavaScript); see SQLResult sqlConnection.query(sql)- Querying user input; see How to Create Semi-Automatic Tests that Query for User Input
question
function; see int testInteraction.question(message)- Quit AUT action (Squish IDE)
- QWebView.clearObjectCache() function (Qt)
- QWebView.evalJS(code) function (Qt)
- QWebView.isPageLoaded() function (Qt)
- QWebView.loadUrl(url) function (Qt)
- QWebView.retrieveJSObject(code) function (Qt)
R
- raiseWindow() function (Web)
read
function (JavaScript); see String file.read()readAllFrames
function; see List CanBusDevice.readAllFrames()readFrame
function; see CanBusFrame CanBusDevice.readFrame(timeout)readGesture
function: readGesture(gesture-file); readGesture(gesture-file) (iPhone); readGesture(gesture-file) (Java); readGesture(gesture-file) (Qt); readGesture(gesture-file) (Windows)readInt32
function (JavaScript); see Number socket.readInt32()readInt8
function (JavaScript); see Number socket.readInt8()readLine
function (JavaScript); see String socket.readLine()readln
function (JavaScript); see String file.readln()readStderr
function; see String applicationContext.readStderr()readStdout
function; see String applicationContext.readStdout()- Real (multi-property) names; see How to Identify and Access Objects
realName
function; see String objectMap.realName(object)receiveTextMessage
function (JavaScript); see String websocket.receiveTextMessage()- Record Snippet action (Squish IDE)
- Record Test Case action (Squish IDE)
- Recording test cases, recording; see : Recording a Test Case
- Redo action (Squish IDE)
- Refresh action (Squish IDE)
RegExPropertyValue
function (Web); see Squish.RegExPropertyValue Squish.RegExPropertyValue(regexString)registerWidget
function (Web); see Squish.registerWidget(argumentObject)- Regression testing; see How to Do Automated Batch Testing, Automated Batch Testing
- Regular expression name matching; see Regular Expression Matching
- rehook(browserTab) function (Web)
- Remote Control action (Squish IDE)
- Remote Control action (Squish IDE)
- Remote Control dialog (Squish IDE)
- RemoteSystem.close() function
- RemoteSystem RemoteSystem() function
- RemoteSystem.copy(sourcePath, destinationPath) function
- RemoteSystem.createDirectory(path) function
- RemoteSystem.createPath(path) function
- RemoteSystem.createTextFile(path, content) function
- RemoteSystem.deleteDirectory(path) function
- RemoteSystem.deleteFile(path) function
- RemoteSystem.download(remotePath, localPath) function
- RemoteSystem.execute(cmd) function
- RemoteSystem.exists(path) function
- RemoteSystem.getEnvironmentVariable(variableName) function
- RemoteSystem.getOSName() function
- RemoteSystem.listFiles(path) function
- RemoteSystem.rename(oldPath, newPath) function
- RemoteSystem.stat(path, propertyName) function
- RemoteSystem.upload(localPath, remotePath) function
remove
function: Boolean File.remove(fileName) (JavaScript); data.remove( key) (JavaScript); testData.remove(filename)removeRecursively
function (JavaScript); see Boolean OS.removeRecursively(path)rename
function; see Boolean RemoteSystem.rename(oldPath, newPath)- Rename action (Squish IDE)
- Report generation formats; see squishrunner --reportgen: Generating Reports
- Reset Perspective action (Squish IDE)
resizeTo
function; see resizeTo(width, height)restore
function; see restore()restoreResultContext
function; see test.restoreResultContext()resultCount
function; see test.resultCount(resultCategory)- Resume action (Squish IDE)
retrieveJSObject
function: Object QWebView.retrieveJSObject(code) (Qt); JsObject retrieveJSObject(javascriptcode) (Web)rmdir
function (JavaScript); see Boolean OS.rmdir(path)run
function; see Fmi2Import.run(runtime, stepSize, timeFactor)- Run Test Case action (Squish IDE)
runDetached
function; see Fmi2Import.runDetached(stepSize, timeFactor)- Runner, test; see squishrunner
- Runner/Server Log view (Squish IDE)
S
save
function: Image.save(fileName);- Save action (Squish IDE)
- Save All action (Squish IDE)
- Save Perspective As action (Squish IDE)
- saveDesktopScreenshot(filename) function
- saveObjectSnapshot(objectNameOrReference, snapshotImageFile.xml) function
scale
function: Object GestureBuilder.scale(scaleX, scaleY, originX, originY); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (iPhone); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (Java); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (Qt); Object GestureBuilder.scale(scaleX, scaleY, originX, originY) (Windows)- Screen.byIndex(index) function
- Screen.count() function
- ScreenPoint center() function
- Screenshot Verification Point dialog (Squish IDE)
- Screenshots, automatic; see How to Create Automatic Screenshots on Test Failures and Errors
- Screenshots, of windows; see
grabWidget
function - Scripts, file encoding for test; see Unicode UTF-8 File Encoding
scrollTo
function: scrollTo(objectOrName, position) (Qt); scrollTo(objectName, position) (Tk); HTML_Object.scrollTo(top) (Web); scrollTo(objectOrName, top) (Web)- scrollToObject(objectOrName) function (Mac OS X)
- Search action (Squish IDE)
- Search dialog (Squish IDE)
- Search Image Selection dialog (Squish IDE)
- Search view (Squish IDE)
- Select All action (Squish IDE)
selectAll
function (Web); see HTML_TextBase.selectAll()selectNodes
function (JavaScript); see jsTupelOfValues xmlNode.selectNodes(XPath.Expression)- selectOption(objectOrName, text) function (Web)
- selectOptionByValue(objectOrName, value) function (Web)
- selectOptions(objectOrName, listOfTexts) function (Web)
- selectOptionsByValue(objectOrName, listOfValues) function (Web)
- selectPickerRowInComponent(objectOrName, row, componentIndex) function (iPhone)
selectSingleNode
function (JavaScript); see XMLNode XMLNode.selectSingleNode(XPathExpression)- Semi-automatic testing; see How to Create Semi-Automatic Tests that Query for User Input
send
function (JavaScript); see XMLHttpRequest.send([data], [boundary])sendEvent
function: sendEvent(eventName, objectOrName, ...) (Qt); sendEvent(eventName, objectOrName, ...) (Tk); sendEvent(eventName, objectOrName, x, y, modifierState, button) (Web); sendEvent(eventName, receiverObjectOrName, ...) (XView)- sendNativeEvent(windowName, sequence) function
sendTextMessage
function (JavaScript); see websocket.sendTextMessage( message)server.ini
file; see Squish Initialization Filesset
function: Object JavaArray.set(index, object) (Java); data.set(key, value) (JavaScript)- setApplicationContext(contextHandle) function
- setClipboardText(text) function
- setContext(context) function (Web)
setenv
function (JavaScript); see OS.setenv(name, value)setFocus
function: setFocus(); setFocus(objectOrName) (Qt); setFocus(objectOrName) (Web)- setFocusedWindow(objectOrName) function (Windows)
setForeground
function; see setForeground()- setForegroundWindow(objectOrName) function (Windows)
- setFrameContext(browserTab, frameName) function (Web)
setFullscreen
function; see setFullscreen()setHistorySize
function; see CanBusFrameReceiver.setHistorySize(frameId, length)- setMouseTracking(className, onOrOff) function (Qt)
setPixel
function; see Number Image.setPixel(x, y, rgbColor)setProperty
function (Web); see HTML_Object.setProperty(name, value)- setRecordMouseDrag(className, onOrOff) function (Qt)
setRequestHeader
function (JavaScript); see XMLHttpRequest.setRequestHeader(header, value)setSelectedOption
function (Web); see HTML_Select.setSelectedOption(text)setSelectedOptionByValue
function (Web); see HTML_Select.setSelectedOptionByValue(value)setSelectedOptions
function (Web); see HTML_Select.setSelectedOptions(listOfTexts)setSelectedOptionsByValue
function (Web); see HTML_Select.setSelectedOptionsByValue(listOfValues)setState
function; see Fmi2Import.setState(state)- setText(objectOrName, text) function (Web)
- Setting property values; see Equivalent Script API
setUrl
function (Web); see BrowserTab.setUrl(url, timeout)setValue
function: Fmi2Import.setValue(variables, values); setValue(objectOrName, integer) (Windows)- setWindowState(objectOrName, windowState) function (Qt)
setWrappersForApplication
function; see testSettings.setWrappersForApplication(application, wrapperList)- Sharing data and scripts; see How to Create and Use Shared Data and Shared Scripts
- Sharing Squish installations; see Distributing and Sharing an Installation
- Shell scripts as AUTs; see Shell Scripts and .bat-Files as AUT
- Shortcuts, keyboard; see Keyboard Shortcuts
- Show Active Keybindings action (Squish IDE)
- Show System Menu action (Squish IDE)
- Show View action (Squish IDE)
- Show View dialog (Squish IDE)
- Show View Menu action (Squish IDE)
- Show Whitespace Characters action (Squish IDE)
showImage
function; see void testInteraction.showImage(image, [message], [timeoutSecs])singleNodeValue
function (Web); see HTML_Object HTML_XPathResult.singleNodeValue()size
function (JavaScript); see Number File.size(fileName)skip
function; see test.skip(message)snapshotItem
function (Web); see HTML_Object HTML_XPathResult.snapshotItem(index)- snooze(seconds) function
- socket.close() function (JavaScript)
- Socket.connect(host, port) function (JavaScript)
- socket.readInt32() function (JavaScript)
- socket.readInt8() function (JavaScript)
- socket.readLine() function (JavaScript)
- Socket.writeString(string) function (JavaScript)
source
function: String source(item) (Qt); source(filename)- Special functions; see Tester-Created Special Functions
- spinDown(objectOrName) function (Qt)
- spinUp(objectOrName) function (Qt)
splitMultiOptionString
function (Web); see ArrayOfStrings Squish.splitMultiOptionString(multiOptionString)- Spying on applications; see How to Use the Spy
- SQL.connect(informationObject) function (JavaScript)
- sqlConnection.close() function (JavaScript)
- sqlConnection.execute(sql) function (JavaScript)
- sqlConnection.query(sql) function (JavaScript)
- sqlResult.toFirst() function (JavaScript)
- sqlResult.toNext() function (JavaScript)
- sqlResult.value(fieldNumber|fieldName) function (JavaScript)
- Squish Server Settings dialog (Squish IDE)
- Squish-specific special functions; see Tester-Created Special Functions
- Spy Perspective (Squish IDE)
- Squish Spy Perspective action (Squish IDE)
- Squish Support Request Wizard (Squish IDE)
- Squish Test Center view (Squish IDE)
- Squish Test Debugging Perspective (Squish IDE)
- Squish Test Debugging Perspective action (Squish IDE)
- Squish Test Management Perspective (Squish IDE)
- Squish Test Management Perspective action (Squish IDE)
- Squish.addClickHook(function) function (Web)
- Squish.addEventObjectHook(function) function (Web)
- Squish.addEventToStringHook(function) function (Web)
- Squish.addEventTypeHook(function) function (Web)
- Squish.addItemTextForEventObjectHook(function) function (Web)
- Squish.addMatchObjectHook(function) function (Web)
- Squish.addNameOfHook(function) function (Web)
- Squish.addTypeOfHook(function) function (Web)
- Squish.addUnmatchedProperty(objectName, propertyName) function (Web)
- Squish.cleanString(s) function (Web)
- Squish.clickButton(buttonElement) function (Web)
- Squish.createChooseDateInformation(jsDate) function (Web)
- Squish.createClickItemInformationForMenuItem(menuElement, menuText) function (Web)
- Squish.createClickTabInformation(tabWidgeElement, tabTitle) function (Web)
- Squish.createItemName(viewObjectName, itemText) function (Web)
- Squish.createMultiOptionString(arrayOfSelectedOptions) function (Web)
- Squish.getElementByClassName(contextNode, className, tagName) function (Web)
- Squish.getElementsByClassName(contextNode, className, tagName) function (Web)
- Squish.getEventSourceElement(event) function (Web)
- Squish.getSelectedOptionTexts(selectElement) function (Web)
- Squish.hasClassName(objectOrName, className) function (Web)
- Squish.isElementVisible(element) function (Web)
- Squish.matchProperty(valueObject, property) function (Web)
- Squish.mouseClick(objectOrName) function (Web)
- Squish.nameOf(objectOrName) function (Web)
- Squish.ObjectName() function (Web)
- Squish.ObjectName.addProperty(propertyName, propertyValue) function (Web)
- Squish.ObjectName.getPropertyNames() function (Web)
- Squish.ObjectName.getPropertyValue(propertyName) function (Web)
- Squish.ObjectName.removeProperty(propertyName) function (Web)
- Squish.propertiesToName(objectOrName, listOfPropertyNames) function (Web)
- Squish.RegExPropertyValue Squish.RegExPropertyValue(regexString) function (Web)
- Squish.registerWidget(argumentObject) function (Web)
- Squish.splitMultiOptionString(multiOptionString) function (Web)
- Squish.uniquifyName(name, objectOrName) function (Web)
- Squish.WildCardPropertyValue Squish.WildCardPropertyValue(wildcardString) function (Web)
- SquishHook.containerFor(item) function (Qt)
- SquishHook.extraPropertiesFor(item) function (Qt)
- SquishHook.isIgnored(item) function (Qt)
- SquishHook.isItemReady(item) function (Qt)
- SquishHook.propertyFor(item, property) function (Qt)
- squishidl tool
- squishinfo object
- squishrunner
- squishserver
stackTrace
function; see StackTrace test.stackTrace()- startApplication(autName) function
- startaut tool; see start*aut
- startBrowser(url) function (Web)
- startCAN(options) function
startDrag
function: startDrag(source_objectOrName, sx, sy) (Java); startDrag(source_objectOrName, sx, sy) (Qt); startDrag(src_objectOrName, sx, sy) (Web)- startFMI() function
- startObserver() function
startSection
function; see test.startSection(title)startVideoCapture
function; see test.startVideoCapture(message)stat
function; see Variant RemoteSystem.stat(path, propertyName)- Step Into action (Squish IDE)
- Step Over action (Squish IDE)
- Step Return action (Squish IDE)
- Stop Recording action (Squish IDE)
- stopObserver() function
stopVideoCapture
function; see test.stopVideoCapture(message)- Stress testing; see How to Do Automatic Stress Testing on Qt
style
function (Web); see HTML_Style HTML_Object.style()styleVisibility
function (Web); see String HTML_Object.styleVisibility()- Sub-processes run by the AUT; see Record / Replay on Sub-Processes started by the AUT
subMenu
function (Web); see HTML_Menu HTML_MenuItem.subMenu()submit
function: HTML_Button.submit() (Web); HTML_Form.submit() (Web)suite.conf
file; see The suite.conf File- Suspend action (Squish IDE)
- Switch to Editor action (Squish IDE)
- Switch to Editor dialog (Squish IDE)
- Symbolic names; see How to Identify and Access Objects
symbolicName
function; see String objectMap.symbolicName(object)symbolicNames
function; see SequenceOfStrings objectMap.symbolicNames()sync
function; see Fmi2Import.sync()- Synchronizing test statements with the running AUT; see How to Create and Use Synchronization Points, Synchronization Functions
- Synchronizing web page loading; see How to Synchronize Web Page Loading for Testing
system
function (JavaScript); see int OS.system(command)
T
- Table views, testing Qt; see How to Test Items in QTableViews (QAbstractItemModels and QItemSelectionModels)
- tapMenuItem(objectOrName) function
tapObject
function: tapObject(objectOrName); tapObject(objectOrName) (iPhone); tapObject(objectOrName) (Qt); tapObject(screenPoint, modifierState, button)- Tcl-specific notes; see Tcl Notes
- tcleval(code) function (Tk)
- Templates, for test cases; see Testcase Templates and Test Suites view
- Terminate action (Squish IDE)
- Test cases, executing; see squishrunner --testsuite: Running tests in batch mode, Executing a Test Case (Advanced)
- Test cases, recording; see : Recording a Test Case
- Test cases, templates for test cases; see Testcase Templates
- Test data; see How to Use Test Data in the AUT
- Test engineer created special functions; see Tester-Created Special Functions
test
functions, how to use; see How to Use Test Statements- Test results, generating XML; see Generating XML Test Results
- Test Results view (Squish IDE)
- Test runner; see squishrunner
- Test scripts file encoding; see Unicode UTF-8 File Encoding
- Test Suite Settings view (Squish IDE)
- Test Suites view (Squish IDE)
- Test Summary view (Squish IDE)
- test.attachDesktopScreenshot(message) function
- test.attachFile(pathToFile, message) function
- test.attachImage(image, message) function
- test.breakpoint() function
- test.compare(value1, value2) function
- test.compareJSONFiles(expectedFilePath, actualFilePath) function
- test.compareTextFiles(expectedFilePath, actualFilePath) function
- test.compareXMLFiles(expectedFilePath, actualFilePath) function
- test.endSection() function
- test.exception(code) function
- test.fail(message) function
- test.fatal(message) function
- test.fixateResultContext() function
- test.imageNotPresent(imageFile, [parameterMap], [searchRegion]) function
- test.imagePresent(imageFile, [parameterMap], [searchRegion]) function
- test.log(message) function
- test.ocrTextNotPresent(text, [parameterMap], [searchRegion]) function
- test.ocrTextPresent(text, [parameterMap], [searchRegion]) function
- test.pass(message) function
- test.restoreResultContext() function
- test.resultCount(resultCategory) function
- test.skip(message) function
- test.stackTrace() function
- test.startSection(title) function
- test.startVideoCapture(message) function
- test.stopVideoCapture(message) function
- test.verify(condition) function
- test.vp(name) function
- test.vpWithObject(name, objectNameOrReference) function
- test.warning(message) function
- test.xcompare(value1, value2) function
- test.xfail(message) function
- test.xpass(message) function
- test.xverify(condition) function
- test.xvp(name) function
- testData.create(where, filename) function
- testData.dataset(filename) function
- testData.datasetExcel(filename, sheetname) function
- testData.exists(filename) function
- testData.field(record, fieldName) function
- testData.fieldNames(record) function
- testData.get(filename) function
- testData.put(filename) function
- testData.remove(filename) function
- Testing multiple AUTs in the same test; see How to Test Multiple AUTs from a Single Test Script, Using ApplicationContext
- testInteraction.choice(message, items) function
- testInteraction.information(message) function
- testInteraction.input(message, initialText) function
- testInteraction.isAvailable() function
- testInteraction.notification(message) function
- testInteraction.password(message) function
- testInteraction.question(message) function
- testInteraction.showImage(image, [message], [timeoutSecs]) function
- testInteraction.warning(message) function
- testSettings object
- testSettings.getPassword(key) function
- testSettings.getWrappersForApplication(application) function
- testSettings.setWrappersForApplication(application, wrapperList) function
- Text Not Found dialog (Squish IDE)
- testInteraction.notification(message, timeoutSecs) function
- Tk objects, how to access; see How to Find and Query Tk Objects
- Tk widgets, testing; see How to Test Tk Widgets
toFirst
function (JavaScript); see sqlResult.toFirst()- Toggle Block Selection Mode action (Squish IDE)
- toggleExpandable(objectOrName) function (Web)
toNext
function (JavaScript); see sqlResult.toNext()topLevelObjects
function; see SequenceOfObjects object.topLevelObjects()- ToplevelWindow.byName(objectname, timeout) function
- ToplevelWindow.byObject(object) function
- ToplevelWindow.close() function
- ToplevelWindow.focused() function
- ToplevelWindow.maximize() function
- ToplevelWindow.minimize() function
- ToplevelWindow.moveTo(x, y) function
- ToplevelWindow.resizeTo(width, height) function
- ToplevelWindow.restore() function
- ToplevelWindow.setFocus() function
- ToplevelWindow.setForeground() function
- ToplevelWindow.setFullscreen() function
toString
function; see String CanBusFrame.toString()()touchAndDrag
function: touchAndDrag(objectOrName, x, y, dx, dy); touchAndDrag(objectOrName, x, y, dx, dy) (iPhone); touchAndDrag(objectOrName, x, y, dx, dy) (Qt)- touchAndHold(objectOrName, duration) function (iPhone)
- touchPress(objectOrName, x, y) function (Qt)
- touchRelease(objectOrName, x, y) function (Qt)
toXMLString
function (JavaScript); see String xmlNode.toXMLString()translate
function: Object GestureBuilder.translate(x, y); Object GestureBuilder.translate(x, y) (iPhone); Object GestureBuilder.translate(x, y) (Java); Object GestureBuilder.translate(x, y) (Qt); Object GestureBuilder.translate(x, y) (Windows)type
function: type(objectOrName, text); type(objectOrName, text) (iPhone); type(objectOrName, text) (Java); type(objectOrName, text) (Mac OS X); type(objectOrName, text) (Qt); type(objectName, text) (Tk); Type Browser.type() (Web); type(objectOrName, text) (Windows); type(object, text) (XView)- Type conversions; see Conversion Functions
- typeName(object) function
- typeText(objectOrName, text) function (Web)
U
- UiTypes.DateTime() function
- Undo action (Squish IDE)
- Unicode UTF-8 file encoding for test scripts; see Unicode UTF-8 File Encoding
- Uninstall Squish; see Uninstalling
uninstallEventHandler
function: uninstallEventHandler(eventName, handlerFunctionNameOrReference); uninstallEventHandler(eventName, handlerFunctionName) (iPhone); uninstallEventHandler(eventName, handlerFunctionNameOrReference) (Java); uninstallEventHandler(eventName, handlerFunctionName) (Mac OS X); uninstallEventHandler(eventName, handlerFunctionName) (Qt); uninstallEventHandler(eventName, handlerFunctionNameOrReference) (Tk); uninstallEventHandler(eventName, handlerFunctionNameOrReference) (Web); uninstallEventHandler(eventName, handlerFunctionNameOrReference) (Windows); uninstallEventHandler(eventName, handlerFunctionNameOrReference) (XView)- uninstallLazySignalHandler(name, signalSignature, handlerFunctionName) function (Qt)
- uninstallSignalHandler(objectOrName, signalSignature, handlerFunctionName) function (Qt)
uniquifyName
function (Web); see String Squish.uniquifyName(name, objectOrName)- Universal Access for macOS testing; see macOS Universal Access
upload
function; see Boolean RemoteSystem.upload(localPath, remotePath)
V
value
function: String sqlResult.value(fieldNumber|fieldName) (JavaScript); String HTML_Style.value(name) (Web)- Variables view (Squish IDE)
- Verification Point Creator view (Squish IDE)
- Verification points, creating and using; see How to Create and Use Verification Points, Verification Functions
verify
function; see Boolean test.verify(condition)- Verify > OCR Text action (Squish IDE)
- Verify > Properties action (Squish IDE)
- Verify > Screenshot action (Squish IDE)
- Verify > Search Image action (Squish IDE)
- Verify > Table action (Squish IDE)
- Verify > Visual action (Squish IDE)
visibleEventAt
function (Web); see HTML_CalendarEvent HTML_CalendarView.visibleEventAt(index)- Visual Verification Point editor (Squish IDE)
vp
function; see Boolean test.vp(name)vpWithObject
function; see Boolean test.vpWithObject(name, objectNameOrReference)
W
- waitFor(condition) function
- waitForApplicationLaunch() function
- waitForContextExists(context) function (Web)
waitForFrame
function; see CanBusFrameReceiver.waitForFrame(filter, timeout)- waitForImage(imageFile, [parameterMap], [searchRegion]) function
- waitForObject(objectOrName) function
- waitForObjectExists(name) function
waitForObjectItem
function: waitForObjectItem(objectOrName, itemOrIndex); waitForObjectItem(objectOrName, row, column) (Web)- waitForOcrText(text, [parameterMap], [searchRegion]) function
- waitForSignal(object, signalSignature) function (Qt)
- waitUntilObjectItemReady(item) function
- waitUntilObjectReady(anObject) function
warning
function: test.warning(message); int testInteraction.warning(message)- websocket.close() function (JavaScript)
- WebSocket.connect(hostname) function (JavaScript)
- websocket.receiveTextMessage() function (JavaScript)
- websocket.sendTextMessage(message) function (JavaScript)
- WebView.evalJS(script) function
- Widgets, testing Tk; see How to Test Tk Widgets
- Wildcard name matching; see Wildcard Matching
WildCardPropertyValue
function (Web); see Squish.WildCardPropertyValue Squish.WildCardPropertyValue(wildcardString)- Working Set action (Squish IDE)
- Workspace action (Squish IDE)
- Wrappers, AUT and toolkit; see How to Create and Access Application Bindings, AUT Script Bindings—Creating and Accessing
write
function (JavaScript); see file.write(string)writeFrame
function; see CanBusDevice.writeFrame(frame)writeString
function (JavaScript); see Socket.writeString(string)
X
xcompare
function; see Boolean test.xcompare(value1, value2)xfail
function; see test.xfail(message)- XML report format; see The Report Format
- XML test results, generating; see Generating XML Test Results
- XML.parse(markup) function (JavaScript)
- XMLHttpRequest() function (JavaScript)
- XMLHttpRequest.abort() function (JavaScript)
- XMLHttpRequest.getAllResponseHeaders() function (JavaScript)
- XMLHttpRequest.getResponseHeader(header) function (JavaScript)
- XMLHttpRequest.open(method, url, async, [username], [password]) function (JavaScript)
- XMLHttpRequest.send([data], [boundary]) function (JavaScript)
- XMLHttpRequest.setRequestHeader(header, value) function (JavaScript)
- xmlNode.getAttribute(attributeName) function (JavaScript)
- xmlNode.getAttributeNames() function (JavaScript)
- xmlNode.getElementsByTagName(tagName) function (JavaScript)
- XMLNode.getSingleValueByXPath(XPathExpression) function (JavaScript)
- XMLNode.getValuesByXPath(XPath.Expression) function (JavaScript)
- xmlNode.hasAttribute(attributeName) function (JavaScript)
- xmlNode.selectNodes(XPath.Expression) function (JavaScript)
- XMLNode.selectSingleNode(XPathExpression) function (JavaScript)
- xmlNode.toXMLString() function (JavaScript)
xpass
function; see test.xpass(message)- XPath, how to use; see How to Use XPath
xverify
function; see test.xverify(condition)xvp
function; see test.xvp(name)