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
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
5 Answers, 1 is accepted
0
Hi Paulo,
Boyan Boev
Telerik
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.
Boyan Boev
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
Reserve your seat today!
0
Paulo
Top achievements
Rank 2
answered on 07 Jun 2013, 09:43 AM
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
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
0
Hello Paulo,
Boyan Boev
Telerik
I believe this will be fixed as soon as possible.
Thank you for your feedback.
Boyan Boev
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
Reserve your seat today!
0
Anand
Top achievements
Rank 1
answered on 27 Dec 2013, 06:48 PM
Hi,
Is this issue addressed? m still seeing this issue only in chrome.
Version 2013.1
Regards,
Anand
Is this issue addressed? m still seeing this issue only in chrome.
Version 2013.1
Regards,
Anand
0
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
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