I am automating Outlook. I am using .GetVisibleText function to retrieve the text data from the application (Grid). I have various test environment and different version of Outlook under test. GetVisibleText function works well on MS Windows Server 2K3 EE SP2, MS Office SE 2K3
GetVisibleText crashes outlook in the below environment.
MS Windows Server 2K3 R2 EE SP1
MS Office Professional Edition 2K3
I was unable to use GetROProperty, as the text and attached text does not retrieve text (Even spy does not show data in text and attached text fields)
Re: GetVisibleText is crashing application under test
I have used MAPI and Redemption object to do send email scripts, which is same as in link posted. Now I am automating Outlook rules (Tools > Rules and Alerts). This does not have MAPI functions. So i am using QTP code. I am using GetVisibleText to fetch text in Grid, which is crashing outlook.
Re: GetVisibleText is crashing application under t
Even i read in Mercury KB ....
Problem Description: QTP's Text Recognition functionality is not working as expected
Scripts using QuickTest Professional's (QTP) Text Recognition mechanism are not executing as expected.
Some of the possible problems are:
Text is not captured at all.
Part of the text is captured.
Text is captured, but additional unexpected characters are added also.
The text to find is visible, but QTP cannot locate it.
QTP crashes when attempting to capture or verify text.
Blue screens occur in the Citrix environment.
Captured text is incorrect.
The application closes when attempting to capture or verify text.
Diagnosis: The QuickTest Professional Text Recognition mechanism may behave differently in run sessions depending on the operating system and machine settings. Numerous issues, including the following, can reduce the reliability of Text Recognition:
Changes in the operating system version in use.
Service Packs or other operating system patches have been installed.
Other (non-Mercury) installed toolkits.
APIs used by the application being tested.
Changes in fonts used to display the text.
Changes in screen settings, including resolution.
Changes in the application environment (browser version, etc.)
Different graphics cards or drivers.
The Text Recognition mechanism affects the following methods and functionality (note that there may be others as well):
Certain types of text checkpoints (Text Checkpoint and Text Area Checkpoint) and text output values (Text Output Value and Text Area Output Value)
VT-100 text recognition with the Terminal Emulator add-in