# In tests, elements' value is shown as empty

**URL:** <https://discuss.appium.io/t/in-tests-elements-value-is-shown-as-empty/28858>\
**Category:** Issues/Bugs\
**Created:** [December 3, 2019, 9:23pm UTC](https://discuss.appium.io/t/in-tests-elements-value-is-shown-as-empty/28858 "2019-12-03T21:23:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sai-poluri](https://discuss.appium.io/user_avatar/discuss.appium.io/sai-poluri/32/6728_2.png) [@sai-poluri](https://discuss.appium.io/u/sai-poluri)\
**Post date:** [December 9, 2019, 2:07pm UTC](https://discuss.appium.io/t/in-tests-elements-value-is-shown-as-empty/28858/4 "2019-12-09T14:07:16Z")

</div>

Hello OctavioN,  
On iOS and Appium 15.1  
I have encountered a similar issue with the message not being retrieved using the type as value, It returns nil. The appium inspector is able to detect the value but not through the code. I believe this could be a defect. This is the link to the post [The value of the element displayed as ‘nil’ though it gets displayed in the inspector](https://discuss.appium.io/t/the-value-of-the-element-displayed-as-nil-though-it-gets-displayed-in-the-inspector/28884)

---

_[View the full topic](https://discuss.appium.io/t/in-tests-elements-value-is-shown-as-empty/28858)._
