Webdriver automatically clears Text entered in TextBox

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Webdriver automatically clears Text entered in TextBox

Anbu Chozhan

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.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/40882876-815d-43ec-b935-595102806355%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Webdriver automatically clears Text entered in TextBox

srikanth samala
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

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/56cc2e22-b95f-4a5b-ac58-b8147b231cc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.