Forum Discussion

Mahendran's avatar
Mahendran
Occasional Contributor
7 years ago

I am not able to read text from textbox in windows calculator

Testcomplete is not able to read text from windows calculator.

 

Is there any property to read text?

7 Replies

    • mikakoistinen's avatar
      mikakoistinen
      Contributor

      With windows 10 calculator you have to read to history listview.

      With forexample following pascal code (sorry this is Finnish but you get the point)

       

        showmessage( Sys.Process('Microsoft.WindowsCalculator').UIAObject('Laskin').UIAObject('DockPivot').UIAObject('Historia').UIAObject('HistoryListView').UIAObject('ListViewItem').UIAObject('resultTextBlock').text);

       

       

      • Mahendran's avatar
        Mahendran
        Occasional Contributor

        I am using testcomplet 9. The Wndcaption property is blank