SenseTalk Reference
About SenseTalk: SenseTalk is a language for controlling your system under test (SUT). Read this information for an overview and a more in-depth description of SenseTalk and how it works.
Key Elements: How can I learn the most about SenseTalk in the next hour? Read this information for a one-hour introduction for experienced programmers and inquiring minds.
The Basics: To use SenseTalk effectively, there are a few basic concepts you need to understand. Read this information to help you gain a thorough understanding of values, containers, expressions, and control structures.
Objects and Messages: To fully understand SenseTalk and leverage its power, there are a few more concepts to master. Read this information to help you gain a thorough understanding of messages and handlers, and objects and their helpers.
Working with Databases: Read the following information to better understand how you can use SenseTalk scripting to work with databases.
Commands and Functions: SenseTalk supports many commands and functions to help you process information. Read this information to optimize your SenseTalk experience.
GUI Automation Commands and Functions: SenseTalk provides capabilities for interacting with systems under test (SUTs), which is particularly useful in Eggplant Functional scripting.
WebDriver Commands and Functions: SenseTalk provides capabilities for using WebDriver commands and functions for testing web pages and web applications.
VISA and SCPI Commands and Functions: SenseTalk provides properties, commands and functions that allow you to communicate with and control test and measurement devices, such as power supplies and oscilloscopes.
Local and Global Properties: These properties govern behavior both globally and locally within a handler. Read this information to understand handlers and how these properties affect handler behavior.
Syntax definitions for language elements follow these formatting guidelines:
- boldface: Indicates words and characters that must be typed exactly
- italic: Indicates expressions or other variable elements
- {} (curly braces): Indicate optional elements.
- [] (square brackets) separated by | (vertical pipes): Indicate alternative options where one or the other can be used, but not both.
Example syntax:
In this example, "open file" is required and must be typed exactly. "fileName" is a variable element; it is the path to and name of the file being opened. The following expression is optional and indicates why the file is being opened. If this expression is added, "for" is required and must be typed exactly. One of the following must be included, but only one, and they also must be typed exactly: "reading", "writing", "readwrite", "appending", or "updating".