TestComplete Tutorial 18 - Creating Snapshots in Object Browser
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...