Highlight an object or window using QTP

To highlight an object or window manually or programmatically (from within the script) Manually Object Repository window. Available also in the Object Repository Manager for shared object repositories: 1. Open the Object Repository 2. Select desired object to highlight 3. Go to "View" menu 4. Select "Highlight in application" option 5. See results: ◦ Succesful: […]

Modify QuickTest Professional Text Recognition behavior

By default, when QuickTest Professional captures text for a text/text area checkpoint or output value step using the GetText, GetTextLocation, or GetVisibleText methods, it tries to retrieve the text directly from the object using a Windows API-based mechanism. If QuickTest Professional cannot capture the text this way (for example, because the text is part of […]

Languages other than English be specified for the text recognition mechanism

Modify the supportedLanguages value for the text recognition registry key Note: QuickTest Professional 9.2 introduced a new text recognition mechanism. The information provided here applies to QuickTest Professional 9.2 or higher. This solution is not available for earlier versions of QuickTest Professional. To indicate which language dictionaries QuickTest Professional’s text recognition mechanism should use, update […]

Text recognition be set for both hieroglyphic and non-hieroglyphic languages simultaneously

Combined hieroglyphic languages and non-hieroglyphic languages are not supported Note : QuickTest Professional 9.2 introduced a new text recognition mechanism. The information provided here applies to QuickTest Professional 9.2 or higher. This solution is not available for earlier versions of QuickTest Professional. The text recognition mechanism will allow you to specify the language dictionaries that […]

Retrieve the runtime property of an object

Use the GetROProperty method. This method returns the current value of a property for the object in the application. GetROProperty(Property [, in_PropData]) Property – Property to retrieve from the object. in_PropData – This parameter is not in use. Example: ‘ The following example uses the GetROProperty method to retrieve ‘ the title property of a […]