gaozhao1989 / pyjab

Python implementation for Java application UI automation with Java Access Bridge
GNU General Public License v2.0
49 stars 20 forks source link

Missing select action for AccessibleTable #57

Open gaozhao1989 opened 2 years ago

gaozhao1989 commented 2 years ago

Missed action for call JAB API select for AccessibleTable

HuyNguyen7994 commented 2 years ago

Is this action to grab elements from Select Cells? Current implementation seems to grab elements from Cells, which cannot be interacted with in my case. MicrosoftTeams-image

gaozhao1989 commented 2 years ago

Nope, this action is for add cell as selected. You can try with below JAB APIs:

jobject GetAccessibleSelectionFromContext(long vmID, AccessibleSelection as, int i);

BOOL getAccessibleTableRowSelections(long vmID, AccessibleTable table, jint count, jint *selections);

BOOL getAccessibleTableColumnSelections(long vmID, AccessibleTable table, jint count, jint *selections);