Error typing on textbox if "SimulateRealUser" is set to True

6 posts, 0 answers
  1. Paulo
    Paulo avatar
    12 posts
    Member since:
    Jun 2013

    Posted 06 Jun 2013 Link to this post

    Hi!

    I'm testing a Silverlight application.
    I have a step on my test that's to type something in a textbox.
    The recording works fine, but in the execution that step fails, there is no text typed into the textbox.

    I've found that if I set "SimulateRealUser" to False, in the execution the text is typed in the textboxes, and no errors occurs.

    Could you explain me what's the difference between having "SimulateRealUser" to True or False, and why when it's set to True my step fails?

    Thanks,
    Paulo
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 07 Jun 2013 Link to this post

    Hi Paulo,

    I am sorry to hear you are running into this problem.

    Unfortunately this is not expected behavior, we know about this bug, but fortunately there is an easy workaround.

    You just need to change the SimulateRealUser property from True to False, as you did.

    SimulateRealUser means Test Studio is going to simulate actually typing at the keyboard like a real person would. When it is set to False Test Studio will try to directly inject the value into that input field instead of typing on the keyboard. 

    Thank you for your understanding.

    Regards,
    Boyan Boev
    Telerik
    Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
    Reserve your seat today!
  3. Paulo
    Paulo avatar
    12 posts
    Member since:
    Jun 2013

    Posted 07 Jun 2013 Link to this post

    Hi,

    Thanks for the reply.

    What is weird is that until a few days ago with "SimulateRealUser" set to True, everything ran smoothly.
    Suddenly,  this issue appeared.

    Hope this issue to be fixed soon.

    Thx,
    Paulo
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 07 Jun 2013 Link to this post

    Hello Paulo,

    I believe this will be fixed as soon as possible.

    Thank you for your feedback.
     

    Regards,
    Boyan Boev
    Telerik
    Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
    Reserve your seat today!
  5. Anand
    Anand avatar
    3 posts
    Member since:
    Apr 2012

    Posted 27 Dec 2013 Link to this post

    Hi,

    Is this issue addressed? m still seeing this issue only in chrome.
    Version 2013.1

    Regards,
    Anand
  6. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 27 Dec 2013 Link to this post

    Hi Paulo,

    This behavior is not scheduled to be addressed. Part of the issue is that Test Studio is designed to always clear the text before setting the new one. Part of the clear textbox procedure is to call keyPress for the 'End' key which unfortunately moves the selection to the last item. If this issue is negatively effecting your automation efforts, I recommend adding your experience to the public feedback item for impact. 

    Although this won't be an issue in every case, we recommend setting SimulateRealUser to false when necessary. 


    Regards,
    Rodney
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top