# How To Select Multiple rows in an java Application

**URL:** <https://forum.uipath.com/t/how-to-select-multiple-rows-in-an-java-application/356185>\
**Category:** Activities\
**Tags:** studio, uiautomation, activities\
**Created:** [October 26, 2021, 5:37pm UTC](https://forum.uipath.com/t/how-to-select-multiple-rows-in-an-java-application/356185 "2021-10-26T17:37:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreehari\_Alakkad](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sreehari_alakkad/32/190805_2.png) [@sreehari\_Alakkad](https://forum.uipath.com/u/sreehari_Alakkad)\
**Post date:** [October 26, 2021, 5:37pm UTC](https://forum.uipath.com/t/how-to-select-multiple-rows-in-an-java-application/356185/1 "2021-10-26T17:37:39Z")

</div>

Pls for your support and help as, I am trying to select multiple rows in the Java Application, I use find children activity and using FOR loop and Get Attribute activity I can able to select one row at a time by using click activity. but when FOR LOOP takes the next value. selector leaves the current item and select new item. I tried Key Modifiers for ctrl+click but still it could not hold previous selection and it select the new item only. Manually I can select multiple items by ctrl + click.

---

<div class="post-metadata">

**Author:** ![rahulsharma](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rahulsharma/32/55062_2.png) [@rahulsharma](https://forum.uipath.com/u/rahulsharma)\
**Post date:** [October 26, 2021, 7:47pm UTC](https://forum.uipath.com/t/how-to-select-multiple-rows-in-an-java-application/356185/2 "2021-10-26T19:47:30Z")

</div>

Welcome to the UiPath Community @sreehari_Alakkad

Ctrl + click isn’t a optional solution to go for

If you are using send Hotkey on after the other, Ctrl +Click  
Ctrl is pressed after releasing, hence selection is lost

Actually you’ll need to dig in to that application and understand other ways to select multiple items

is there a option to search? eill the search keep selection? Just like in excel… Is it possible in your application?  
if so you can search the element over by one and select them

---

<div class="post-metadata">

**Author:** ![sreehari\_Alakkad](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sreehari_alakkad/32/190805_2.png) [@sreehari\_Alakkad](https://forum.uipath.com/u/sreehari_Alakkad)\
**Post date:** [October 26, 2021, 9:03pm UTC](https://forum.uipath.com/t/how-to-select-multiple-rows-in-an-java-application/356185/3 "2021-10-26T21:03:45Z")

</div>

Thanks for the replay, Is there any option to press Ctrl which holds till my FOR Loop executes completely . so that I can select the the items on my choice with the help of IF activity.

Application Search Options is not that much flexible the way I want.

---

<div class="post-metadata">

**Author:** ![Nam\_Pham](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nam_pham/32/256758_2.png) [@Nam\_Pham](https://forum.uipath.com/u/Nam_Pham)\
**Post date:** [October 27, 2021, 12:59am UTC](https://forum.uipath.com/t/how-to-select-multiple-rows-in-an-java-application/356185/4 "2021-10-27T00:59:24Z")

</div>

Try this way:  
1 - Click on the row you need  
2 - Send hot key shift + down, or shift + pagedown, shift + home
