# UIATableView inside another UIATableView make 4 duplicate of Elements

**URL:** <https://discuss.appium.io/t/uiatableview-inside-another-uiatableview-make-4-duplicate-of-elements/3376>\
**Category:** Issues/Bugs\
**Created:** [March 16, 2015, 5:01am UTC](https://discuss.appium.io/t/uiatableview-inside-another-uiatableview-make-4-duplicate-of-elements/3376 "2015-03-16T05:01:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_S](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@Andrew\_S](https://discuss.appium.io/u/Andrew_S)\
**Post date:** [March 16, 2015, 5:01am UTC](https://discuss.appium.io/t/uiatableview-inside-another-uiatableview-make-4-duplicate-of-elements/3376/1 "2015-03-16T05:01:17Z")

</div>

Greetings. there is long term hard bug that make working almost impossible when in testing app used UIATableView in UIATableView structure.  
when it just show all in alright, but when user use(tap) this element it immediately make copy of all elements in inspector Tree of elements

---

<div class="post-metadata">

**Author:** ![narulacool](https://discuss.appium.io/user_avatar/discuss.appium.io/narulacool/32/1002_2.png) [@narulacool](https://discuss.appium.io/u/narulacool)\
**Post date:** [March 17, 2015, 4:47am UTC](https://discuss.appium.io/t/uiatableview-inside-another-uiatableview-make-4-duplicate-of-elements/3376/2 "2015-03-17T04:47:34Z")

</div>

Have a look at this issue I raised few days back. Your issue seems similar. Although its not resolved but I try & get through the situation by fetching all the elements in a list & looping through each one to find out which one is visible/enabled & then act on that particular element.

> [@Appium finds deallocated objects along with the newly created ones](https://discuss.appium.io/t/appium-finds-deallocated-objects-along-with-the-newly-created-ones/3357):
>
> Appium inspector is showing deallocated objects. So I am seeing x instances of the same object, out of which only 1 is actually correct & visible( while rest are dead). Appium tends to find the first such element and fails on performing a function(click,senkeys etc…) on the first instance(which is dead) eg. I have a TableView T. I navigate to T Navigate to some other page(so that at the backend the objects are set to nil/deallocated) I navigate again to T. I inspector I find 2 entries for T…

---

<div class="post-metadata">

**Author:** ![Andrew\_S](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@Andrew\_S](https://discuss.appium.io/u/Andrew_S)\
**Post date:** [March 17, 2015, 5:55am UTC](https://discuss.appium.io/t/uiatableview-inside-another-uiatableview-make-4-duplicate-of-elements/3376/3 "2015-03-17T05:55:08Z")

</div>

in my case all elements visible and enabled - via inspector and via java appium client.  
all duplicates visible.

i can make actions via any instance of element.  
but this duplicates change count,number of every element and i by mistake tap element not that what i want.

---

<div class="post-metadata">

**Author:** ![Andrew\_S](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@Andrew\_S](https://discuss.appium.io/u/Andrew_S)\
**Post date:** [March 18, 2015, 10:00am UTC](https://discuss.appium.io/t/uiatableview-inside-another-uiatableview-make-4-duplicate-of-elements/3376/4 "2015-03-18T10:00:57Z")

</div>

check this in apple uiautomator - result the same. there is duplicated too. it’s not an appium problem
