Automation Guide
Action-based testing language
TestArchitect Automation Classes
Engine class methods ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAXklEQVRIiWNgGAWjAAoYoZhmhk9kYGCYQStLHBgYGP4xMDD8h1pEE0vSkSyhmU9GqCVMtHABJYCmQTR0DXdgoCCjMROh5iEDA4MgAwPDRQYGhlyoRVQHNC3sRsEQBwD2mR7t73r7NQAAAABJRU5ErkJggg==)
The requested page is not available for selected version.
CreateInterfaceEntity
Syntax
integer CreateInterfaceEntity (string entity)
Description
Define an entity in the current interface, like a window or a message
Parameters
entity
Name of the interface entity.
Return Value
Return 1 if the call is successful; otherwise, 0.If unsuccessful, the diagnostic functions can be used to get more details.
Notes
- Typical examples of entity settings are “title” for a window or “frame” for part of a web page.
- This function can only be used after OpenInterface or CreateInterface, or after a successful intake of an file with Interface Definitions.
- This function is analogous to the built-in action “interface entity”. The use of this function is not recommended when TestArchitect is used to control the automation.