Posts

Showing posts with the label Object Hierarchy in testcomplete

TestComplete Tutorial 18 - Creating Snapshots in Object Browser

Image
 TestComplete allows you to store snapshots of your tested application. A snapshot contains complete information about properties, fields and/or methods of an object that you selected and, optionally, of all of its child objects. Creating Snapshots To create a snapshot from the Object Browser - Select the desired object in the object hierarchy displayed in the  Object Browser . Click the    Save Object Snapshot  button on the  Save/Load Snapshots  toolbar. If the toolbar is hidden, right-click somewhere within the TestComplete toolbar or menu area and select  Save/Load Snapshots  from the pop-up list. This will open the Save Object Snapshot dialog. In the dialog specify the snapshot file name and object information the snapshot will contain. Click  OK . To create a snapshot from tests -  Use the  aqObject.SaveObjectSnapshotToFile  method that saves the object snapshot to the specified file. The method takes param...

TestComplete Tutorial 17 - Object Browser

Image
 Object Browser shows - Running applications The hierarchy of objects in applications Object properties and methods To open the Object Browser, click its tab or select View > Object Browser from the main menu - If needed, you can move the Object Browser to another place within the TestComplete window, or make it a separate window using docking options. Clicking on any running application from Objects panel, we can see the corresponding properties and methods used for application. Selecting each property will give the Description in the bottom Description panel. Also name mapping will also show for selected process in the top 'Selected Object' panel. Exploring Object Hierarchy The Object Browser panel lets you explore the hierarchical structure of processes running in your system. Here is a general view of the hierarchy displayed in the Object Browser: The hierarchical structure represents a tree with the Sys and Mobile objects as the top-level nodes. Each main branch ...