# Need to extract data from table (Java desktop application)

**URL:** <https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937>\
**Category:** Activities\
**Tags:** question, uiautomation, activities\
**Created:** [April 20, 2021, 11:28am UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937 "2021-04-20T11:28:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BNK](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/bnk/32/176658_2.png) [@BNK](https://forum.uipath.com/u/BNK)\
**Post date:** [April 20, 2021, 11:28am UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/1 "2021-04-20T11:28:23Z")

</div>

I need to extract data from table (Java desktop application) .So, I am try with data scrapping but it is not working. It is through the error like (This control does not exist support data extraction. please select a table cell) . So, Please give your suggestion.

Note: I tried with find children also. It is not working.

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [April 20, 2021, 12:11pm UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/2 "2021-04-20T12:11:57Z")

</div>

@BNK  
give a try on using the latest UiPath.System.Acitivities, UiAutomation.Activities.

~~ensure that the java extension is activated~~ obsolete as it is a SWT based APP (reported below)

~~In case of it is not datascraping do a following analysis:~~

~~Lets assume we do have table with 2 cols and 3 rows~~  
~~\* Open UiExplorer (Design \> UiExplorer)~~  
~~\* indicate first table cell~~  
~~\* analyze Tree structure~~

~~often we do see on Java based apps (especially Oracle Forms) following:~~  
~~the cell elements are within a sequence:~~  
~~Row1Col1,Row2Col1,Row3Col1,Row1Col2,Row2Col2,Row3Col2~~

~~May we ask to check this and return a feedback on this? Thanks~~

obsolete as it is a SWT based APP (reported below)

---

<div class="post-metadata">

**Author:** ![BNK](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/bnk/32/176658_2.png) [@BNK](https://forum.uipath.com/u/BNK)\
**Post date:** [April 20, 2021, 12:36pm UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/3 "2021-04-20T12:36:25Z")

</div>

Hi @ppr I am not able to indicate first table cell. because it indicating the whole row.  
The details are stored in list format.

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [April 20, 2021, 12:37pm UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/4 "2021-04-20T12:37:23Z")

</div>

Can you share a screenshot with us. Feel free to redact sensitive information. Thanks

---

<div class="post-metadata">

**Author:** ![BNK](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/bnk/32/176658_2.png) [@BNK](https://forum.uipath.com/u/BNK)\
**Post date:** [April 20, 2021, 12:42pm UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/5 "2021-04-20T12:42:33Z")

</div>

I am getting this response from uiexplorer while choosing first cell  
wnd app=‘Application.exe’ cls=‘SWT\_Window0’ title=‘Java Application \*’ /\>  
  
\<ctrl name=‘BALA10101’ role=‘list item’

---

<div class="post-metadata">

**Author:** ![vlad.coteanu](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/vlad.coteanu/32/474267_2.png) [@vlad.coteanu](https://forum.uipath.com/u/vlad.coteanu)\
**Post date:** [April 20, 2021, 3:09pm UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/6 "2021-04-20T15:09:21Z")

</div>

The java app that you are talking about is using SWT as framework for drawing elements on the screen and not AWT/Swing. The Java extension is used only for AWT and Swing based libraries.

For SWT based application, the AA framework is used (that’s why you get ctrl selectors). In this case, you only get what the apps provide you through those native frameworks, so, if you can select only the entire row, it is because it doesn’t expose any children.

Now, if Extract Data doesn’t work, you can try using Screen Scrapping.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [April 23, 2021, 3:09pm UTC](https://forum.uipath.com/t/need-to-extract-data-from-table-java-desktop-application/308937/7 "2021-04-23T15:09:40Z")

</div>

Closed on April 23, 2021, 3:09pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
