The major TestComplete workload consists of interacting with the tested application via text-input, button-click, selecting elements from the drop-down list, and so on. Of course, automated checks execution is the basic purpose of our tests; however, in order to carry out any checks whatsoever, one should begin with a number of actions, all of which can take much time to complete.
In this recipe, we will consider two methods to work with the controls elements, using text field as an example and decide when it's better to apply either method.
Launch the standard Notepad application (
In order to review two methods of text inputting, we will create two functions