![visual basic for applications visual basic for applications](https://www.researchgate.net/profile/Okan-Onal/publication/294086476/figure/fig7/AS:328233405960202@1455268350725/Visual-Basic-application-on-a-Windows-Mobile-based-Smartphone-Motorola-Mpx-200.png)
However, Visual Basic application objects can also be located by other properties, such as their class name, text and so on - whatever best identifies a specific object. This property specifies the object name as it is defined by the application developers in the application’s source code. Here, the CustomerName_Edit object is identified only by one property - NativeVBObject.Name. The following image shows sample Name Mapping for a Visual Basic application: This helps you understand which window or control one or another mapped object matches. By default, TestComplete generates aliases based on object names defined in the application by developers.Īutomatically captures and adds images of the mapped objects to the Name Mapping repository. Generates an alias (name) that will be used to reference this object in tests. These properties will be used for locating the object during subsequent test recording, editing and run sessions. Selects a set of properties and values that uniquely identify the object in the application and saves them to Name Mapping as the object identification criteria. For each captured object, TestComplete does the following:
Visual basic for applications windows#
When you record a test, TestComplete captures all windows and controls that you interacted with during the recording session and adds them to the Name Mapping project item (also known as the object repository or GUI map). Some object properties are persistent and unchanging, and therefore can be used to locate objects in applications and differentiate among various objects. Running multiple test iterations using data from an external fileĮach object in an application has a number of properties, such as its location, text, type and so on. Launching applications automatically at the beginning of the test runĬreating checkpoints for verifying application behavior and state Working With Application Objects and Controls Refer to the following topics to learn more about creating and enhancing tests: Task Insert checkpoints for verifying objects and values in the tested application.Ĭreate data-driven tests that run multiple test iterations using different sets of data. For example, you can:Īdd new operations, reorder operations and modify their parameters.ĭelete or disable unneeded operations (for example, superfluous recorded operations). The recorded tests can be modified and enhanced in a number of ways to create more flexible and efficient tests.