Webdriver automatically clears Text entered in TextBox

145 views
Skip to first unread message

Anbu Chozhan

unread,
Oct 3, 2017, 10:18:31 PM10/3/17
to Selenium Users

Browser: IE/Firefox
Web Application Design - Dojo Toolkit Based Application

Issue: With selenium sendText or through Java script i can able enter the text in text box which is present in Dynamic widget. Once i submit the page the entered text get automatically clears, since whatever changes happened in text box is not know by UI. I have tried with many options(listed below) to resolve this issue, but nothing worked out.

  1. SendText
  2. Java script
  3. Click the text Box before send text/java script
  4. Click some where outside of text box after sending text
    I have found the temporary solution of 'Robot class' to pass the value to text box. But this will not be a perfect solution since robot class has few limitations.
    Observation of Issue: Whatever changes happened is not getting updated in UI so while submitting the page that entered text get vanished. But entering text through manual stork or Robot class works fine.

Can anyone face this kind of issue? Please provide suggestions/comments on the above issue.

srikanth samala

unread,
May 14, 2018, 11:36:18 AM5/14/18
to Selenium Users
I too faced the issue just give implicit waitTime before and after executing the control. If that not works then give SendKeys with Selenium Actions
Reply all
Reply to author
Forward
0 new messages