10-02-2013, 06:36 PM
The Test Application to be automated is a window based application (Ui-Rendering) running in Windows XP Platform.
Recently, the license server was upgraded to UFT which not supports for QTP 10. So we have installed QTP 11 in POS machine. We are facing following issues with QTP 11
Issues:
1. Syntax getvisdbletext is not retrieving the entire page content, the hierarchy used to retrieve the text is
We have also tried by changing all the options under OCR settings, still GetVisibleText is not giving the required text from the POS application.
GetVisisbleText gives the same result for the options (First Windows API then OCR, First OCR then Windows API, Only Windows API) and QTP displays unrecoverable error when Text recognition mechanism is selected as “Use Only OCR”.
Note: we are facing this issue only with QTP 11 adn not with QTP 10
Please help me in resolving this issue..
Recently, the license server was upgraded to UFT which not supports for QTP 10. So we have installed QTP 11 in POS machine. We are facing following issues with QTP 11
Issues:
1. Syntax getvisdbletext is not retrieving the entire page content, the hierarchy used to retrieve the text is
Code:
VbWindow(“vbMain”).ActiveX(“acxRTView”).WinObject(Object_Name).GetVisibleText
GetVisisbleText gives the same result for the options (First Windows API then OCR, First OCR then Windows API, Only Windows API) and QTP displays unrecoverable error when Text recognition mechanism is selected as “Use Only OCR”.
Note: we are facing this issue only with QTP 11 adn not with QTP 10
Please help me in resolving this issue..