Data Driven Test doesn't support for radmaskedtextbox control ?

15 posts, 0 answers
  1. Totti
    Totti avatar
    10 posts
    Member since:
    Sep 2010

    Posted 06 Dec 2010 Link to this post

    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. ?
  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 07 Dec 2010 Link to this post

    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
  3. David
    David avatar
    12 posts
    Member since:
    Sep 2010

    Posted 20 Jan 2011 Link to this post

    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
  4. ivan
    ivan avatar
    8 posts
    Member since:
    Nov 2010

    Posted 24 Jan 2011 Link to this post

    Same problem, waiting for answer.
  5. Keaegan
    Admin
    Keaegan avatar
    126 posts

    Posted 24 Jan 2011 Link to this post

    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
  6. David
    David avatar
    12 posts
    Member since:
    Sep 2010

    Posted 24 Jan 2011 Link to this post

    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

  7. ivan
    ivan avatar
    8 posts
    Member since:
    Nov 2010

    Posted 25 Jan 2011 Link to this post

    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

  8. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 27 Jan 2011 Link to this post

    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
  9. ivan
    ivan avatar
    8 posts
    Member since:
    Nov 2010

    Posted 27 Jan 2011 Link to this post

    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
  10. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 27 Jan 2011 Link to this post

    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
  11. ivan
    ivan avatar
    8 posts
    Member since:
    Nov 2010

    Posted 28 Jan 2011 Link to this post

    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
  12. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 28 Jan 2011 Link to this post

    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
  13. ivan
    ivan avatar
    8 posts
    Member since:
    Nov 2010

    Posted 09 Mar 2011 Link to this post

    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
  14. Vladislav
    Admin
    Vladislav avatar
    275 posts

    Posted 11 Mar 2011 Link to this post

    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!
  15. ivan
    ivan avatar
    8 posts
    Member since:
    Nov 2010

    Posted 11 Mar 2011 Link to this post

    I install new version and everything works.

    Thanks

    Ivan
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!