# Set text disappears from form

**URL:** <https://forum.katalon.com/t/set-text-disappears-from-form/30761>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [August 2, 2019, 10:01am UTC](https://forum.katalon.com/t/set-text-disappears-from-form/30761 "2019-08-02T10:01:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lilia](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@Lilia](https://forum.katalon.com/u/Lilia)\
**Post date:** [August 2, 2019, 10:01am UTC](https://forum.katalon.com/t/set-text-disappears-from-form/30761/1 "2019-08-02T10:01:27Z")

</div>

I have a peculiar problem to which I was unable to find an answer. I use SendKeys command to input text into the field. I can see the text going in, but as soon as I move onto the next field, the text in the previous field disappears.

I Enter and Tab after sending a string and tried variations of the above to move the cursor along, I tried simply not tabbing along at all and I tried Set Text instead of Send Keys. Every combination of methods produces the same result - as soon as I start populating the next form, the text from the previous form disappears! Obviously, this does not happen outside of the test environment. I can use any method to input data on the website without the text disappearing in real life.

I wonder if anyone came across a similar problem before and if they could share some thoughts on it.

---

<div class="post-metadata">

**Author:** ![Mate\_Mrse](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mate_mrse/32/345_2.png) [@Mate\_Mrse](https://forum.katalon.com/u/Mate_Mrse)\
**Post date:** [August 2, 2019, 10:20am UTC](https://forum.katalon.com/t/set-text-disappears-from-form/30761/2 "2019-08-02T10:20:06Z")

</div>

Share the HTML of the field in question, please.

---

<div class="post-metadata">

**Author:** ![Lilia](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@Lilia](https://forum.katalon.com/u/Lilia)\
**Post date:** [August 2, 2019, 11:24am UTC](https://forum.katalon.com/t/set-text-disappears-from-form/30761/3 "2019-08-02T11:24:03Z")

</div>

Sure. This is an Angular (7.2) frontend, here is an example of one of the inputs:

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/0/0dfa338f72f6b07d2501b8ea3dd3977135246b6a.png)

---

<div class="post-metadata">

**Author:** ![Lilia](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@Lilia](https://forum.katalon.com/u/Lilia)\
**Post date:** [August 2, 2019, 3:14pm UTC](https://forum.katalon.com/t/set-text-disappears-from-form/30761/4 "2019-08-02T15:14:22Z")

</div>

To answer my own question, inserting a few seconds delay BEFORE SendKeys command seem to have sorted the problem!

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:43am UTC](https://forum.katalon.com/t/set-text-disappears-from-form/30761/5 "2022-08-08T07:43:05Z")

</div>

Archived on August 8, 2022, 7:43am UTC


