This question is locked. New answers and comments are not allowed.
Prince M. Premnath
Top achievements
Rank 2
Prince M. Premnath
asked on 17 Jun 2011, 12:33 PM
Hello ,
I am using Telerik Test Studio QA edition ..I found the tool working good in recording.. and data operated test too ..
But i struck up with a case ..
My Application do contains some text box with default texts .. but in a plain testing or in a data driven testing .. it simply appends the text what i intended to enter in there . instead of clearing the text and enter the new values ..
how can i do this ??
Please respond me ASAP
Thanks
Prince
I am using Telerik Test Studio QA edition ..I found the tool working good in recording.. and data operated test too ..
But i struck up with a case ..
My Application do contains some text box with default texts .. but in a plain testing or in a data driven testing .. it simply appends the text what i intended to enter in there . instead of clearing the text and enter the new values ..
how can i do this ??
Please respond me ASAP
Thanks
Prince
5 Answers, 1 is accepted
0
Hello Prince,
Please highlight the step that inputs the text and go to the Properties pane. Under the Behavior heading there is a setting called ClearBeforeTyping. Set this to True. Upon execution, the default text will be cleared before typing the new input.
Regards,
Anthony
the Telerik team
Please highlight the step that inputs the text and go to the Properties pane. Under the Behavior heading there is a setting called ClearBeforeTyping. Set this to True. Upon execution, the default text will be cleared before typing the new input.
Regards,
Anthony
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Ankit
Top achievements
Rank 1
answered on 23 May 2013, 08:42 AM
Hi I dindn't see an option of ClearBeforeTyping setting under Behavior
0
Hello Ankit,
Hope this helps. Regards,
Ivaylo
Telerik
The property you are looking for is available for particular control, if you are testing html application for example this is not available. However you can proceed by editing the test step. Here is a sample video demonstrating on how you can proceed.
Another way to clear the text in text box before you start typing the new text is to use a sample coded step as the one shown below:
Actions.SetText(Find.ByName(
"firstname"
),
""
);
Hope this helps. Regards,
Ivaylo
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings
0
PP
Top achievements
Rank 1
answered on 03 Jun 2013, 04:38 AM
Hi Ankit,
I was also facing the same issue while working with a silverlight application.
What I tried is changing the SimulateRealUser property to false in the properties tab for that specific step and it works for me.
I am not sure what exactly is its purpose but, I would suggest, give it a try.
Regards,
Prerna
I was also facing the same issue while working with a silverlight application.
What I tried is changing the SimulateRealUser property to false in the properties tab for that specific step and it works for me.
I am not sure what exactly is its purpose but, I would suggest, give it a try.
Regards,
Prerna
0
Hello Prerna,
Ivaylo
Telerik
Thank you for interjecting into this thread and sharing your experience.
Regards,Ivaylo
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings