Handliing ktable of swt
- 4 years ago
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.
Orif 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/