This is a migrated thread and some comments may be shown as answers.

Data Driven Test doesn't support for radmaskedtextbox control ?

14 Answers 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Totti
Top achievements
Rank 1
Totti asked on 06 Dec 2010, 08:34 AM
I selected radmaskedtextbox control and binding data source to it, but has not any data source to bind, whereas normal textbox can still bind data as usual. ?

14 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 07 Dec 2010, 08:09 AM
Hi Totti,

I am attaching a simple test which is running against this online example and is data driven. I hope this helps.

Kind regards,
Pavel
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
David
Top achievements
Rank 1
answered on 20 Jan 2011, 05:16 PM
Hello,

I have a question regarding how to data bind an Excel spreadsheet to a RadMaskedTextBox.  Pavel's example test has steps in it like
"RadInput(RadMaskedTextBox1_wrapper)".  These steps have properties that expose Binding Collections that include "InputValue".  However, I don't see how to include test steps of type "RadInput", so all of my test steps that refer to RadMaskedTextBox only have "Property" exposed in the Binding Collection.  How can I add a test step of type "RadInput" to my project?  I assume that being able to do so will allow me to bind an Excel spreadsheet in the same manner as I have for regular text box input.

My environment:  2010 Q3 trial version of the WebUI Developer against a Silverlight application, Visual Studio 2010, Silverlight 4 on Windows 7 with IE8

Thanks.

-David
0
ivan
Top achievements
Rank 1
answered on 24 Jan 2011, 01:47 PM
Same problem, waiting for answer.
0
Keaegan
Telerik team
answered on 24 Jan 2011, 06:36 PM

Hi David and Ivan,

These types of steps are created using the same type of process that you would use for regular textbox input. Record the step entering in some data into the appropriate RadInput field and the test step will be created in your project. After the test step is created, highlight it and then go into the Properties for the step, and then add the binding reference for the appropriate database.

In the provided example, Pavel used the "BuildInGrid" instead of binding an entire database (this way there is no need to include the spreadsheet, the test will run with the .aii and .resx files present). 

If you try to type into the RadInput field while recording, does WebUI not record the test step for you to manipulate? Please let us know if this is the case so we can look closer at the RadInput setup you have for your Dev environment.

All the best,
Keaegan
the Telerik team

Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
David
Top achievements
Rank 1
answered on 24 Jan 2011, 08:30 PM

Hi Keaegan,

When I record the steps to enter text into the RadMaskedTextBox control, I get 2 steps (see attachment).  The 1st step indicates where I click on the control and the 2nd step shows what I type in the text box.  I do not get a step as shown in Pavel's example.  The properties of both of these steps are the same (binding collections only shows "Properties" in both steps).  Let me know if you need additional information.

Thanks.

-David

0
ivan
Top achievements
Rank 1
answered on 25 Jan 2011, 09:02 AM

When I record test and type in to RadMaskedTextBox control, step is recorded but not as “RadInput(RadMaskedTextBox1_wrapper)”. It is recorded as "radmaskedtextbox: type ‘111’ text action."

"RadInput" step in your example have properties for binding but "radmaskedtextbox " step in my case don’t have it. So difference is in how step is recorded.

Best regards

Ivan

0
Konstantin Petkov
Telerik team
answered on 27 Jan 2011, 10:45 AM
Hello,

Let me first clarify where the difference comes from. Initially the thread has been started about RadMaskedTextBox for ASP.NET AJAX and you guys seem to be automating the Silverlight RadMaskedTextBox control. So these are separate controls having separate translators. In the ASP.NET control the data-binding is supported whereas we need to implement that for the Silverlight counterpart. I hope that clears the confusion.

I will forward your request to the responsible developer. You can expect the SL MaskedTextBox TypeText action to support data-binding in the next release (our 2010 Q3 Service Pack 2 is expected due in two weeks).

Please let us know if you have other questions.

Best wishes,
Konstantin Petkov
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
ivan
Top achievements
Rank 1
answered on 27 Jan 2011, 10:57 AM
I am glad that we understood each other, and I am hoping for new feature that will upgrade testing Silverlight applications. There is still much to learn about testing framework - making test flexible and less dependent of UI.
For now I have one question. In development edition, there is no possibility to drag and drop test steps, so I don't know how to drop test step in to logical statement. Can you please help me with this?

Best regards
Ivan
0
Cody
Telerik team
answered on 27 Jan 2011, 06:03 PM
Hi Totti,

I am sorry you appear to be having a problem with Drag & Drop of test steps. Which version of Visual Studio are you using? I just verified that Drag & Drop of test steps does actually work and it does drop into a logic step as expected.

What happens when you try?

Regards,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
ivan
Top achievements
Rank 1
answered on 28 Jan 2011, 09:44 AM
Hello Cody,

today Drag & Drop is working. Confused and happy. Yesterday when I try to drag test step, I left click on test step and hold it, and when I pull mouse down next test step is selected, and so on. Today is working and I didn't change anything. I am using VS2010 Premium.

Best Regards

Ivan L
0
Cody
Telerik team
answered on 28 Jan 2011, 04:29 PM
Hi David,

Sounds good. We'll keep watching for this. If by any chance you do discover when/how to break the drag & drop functionality, please let us know so we can figure it out and fix it.

I am wondering if, when it was failing, is it possible the step was in "edit" mode and shown in the attached screen shot? Drag & drop while the step is in edit mode is deliberately disabled. But you should be able to drag & drop other steps not in edit mode, even when one step is in edit mode.

Best wishes,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
ivan
Top achievements
Rank 1
answered on 09 Mar 2011, 11:21 AM
Hello Telerik Team,

just to confirm that I didn't have drag&drop recorded steps problem in VS2010 any more.
And want to ask you what about issue that Data Driven Test doesn't support for silverlight radmaskedtextbox control ?

Best regards

Ivan
0
Vladislav
Telerik team
answered on 11 Mar 2011, 09:05 AM
Hi ivan,

We believe that we have already fixed the issue with Data driven tests for the RadMaskedTextBox.
Can you please try your tests with the latest internal build for the WebUI TestStudio from the (02.03.2011) and let us know if it works for you?

If you still experience this issue it will be really helpful if you can send us your falling test(s).

Regards,
Vladislav
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
ivan
Top achievements
Rank 1
answered on 11 Mar 2011, 12:40 PM
I install new version and everything works.

Thanks

Ivan
Tags
General Discussions
Asked by
Totti
Top achievements
Rank 1
Answers by
Pavel
Telerik team
David
Top achievements
Rank 1
ivan
Top achievements
Rank 1
Keaegan
Telerik team
Konstantin Petkov
Telerik team
Cody
Telerik team
Vladislav
Telerik team
Share this question
or