Text edit controls are used to work with text. A user can enter text in them as well as select, copy, cut and paste text. TestComplete provides extended support for text edit controls in iOS applications.
|Note:||The described support is available only if the tested iOS application and the computer where TestComplete is running have been prepared for testing in a special way. See Preparing Applications, Devices and Test Computers for iOS Testing.|
TestComplete analyzes a control's class names in your tested application and automatically creates wrapper objects for the supported controls.
The supported text edit classes are listed in the project’s Object Mapping options. You can extend this list. For example, you can add the class name of a custom text edit used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Object Mapping.
The topics of this section provide detailed information on working with edit controls in TestComplete and contain sample scripts.
The topics above describe the principles of working with edit controls. These principles are the same for single-line and multiline controls. The specifics of working with multiline controls are described in the topic below: