TestComplete Tutorial 6 - Object Identification in TestComplete
Different ways to identify objects in TestComplete - A. By Search Criteria - 1. Name Mapping: With name mapping, TestComplete stores all the objects with which your tests interact in the Name Mapping repository. T hese mappings are stored as object where we can specify search criteria like properties provided by TestComplete or xpath expressions or CSS selectors and TestComplete finds these objects in the application. User friendly name(Alias) can be given to address the objects from tests. Examples: Aliases.browser.page2.btnSave Aliases.Windows.navigationbar.btnSearch 2. Object Browser: TestComplete have the Object Browser panel where all applications, windows and controls that TestComplete recognizes in our system or attached mobile devices are given in the form of Hierarchy. Each object in the hierarchy is identified by its type (for example, Process, Window, Browser, Page, WinForms object, XFObje
Comments
Post a Comment