We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

Mr_Bro's avatar
Mr_Bro
Frequent Contributor
4 years ago
Solved

Handliing ktable of swt

Hi Team,

 

my application is a java based desktop application and have a ktable object and i am unable to spy the individual cell objects of the ktable,

can any one help me how to work with those objects using TestComplete.

 

Thanks in advance

  • I have a few ideas:

    I would try combinations of UIA, MSAA and text regonition: https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/text-recognition.html Enable an asterisk under the extended support tab. You will have to click add to add a field for the asterisk and enable it. 
    I would try combinations of 2 of UIA, MSAA, and Text Rec, combinations of 3 can cause overlap. If these settings do not work I would also recommend turning them off as they do expose more properties, it will probably be unnecessary and cause slowdowns. 

    or

    What interactions do we have with the table? Are we clicking on a cell or getting a value? Could we use OCR to extract text, and then manipulate the table? (OCR is a part of the IQ add on) 
    This is the general OCR document: https://support.smartbear.com/testcomplete/docs/reference/program-objects/ocr/index.html there are a couple methods you could use depending on your use case. 

    Or

     

    if we could filter the table data so that it is consistent we could use Keys method with [Down] and [Enter] controls.  
    https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-sys-desktop-pda/keys-method-sys-desktop-object.html


    Lastly If you would like to create a support ticket you can here: https://support.smartbear.com/testcomplete/message/

5 Replies

  • Hi,

    Can you enable the top asterisk in the MSAA settings here: https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/msaa.html 

    Then restart the application under test and see if you can spy the Ktable.

    Best,
    Matt

    • Mr_Bro's avatar
      Mr_Bro
      Frequent Contributor

      mattb ,

       

      i tried enabling the asterisk in MSAA but still its the same.

       

      • mattb's avatar
        mattb
        Icon for Staff rankStaff

        Can you try enabling UI Automation as well, the top asterisk. 

        https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/ui-automation.html