Telerik blogs

Latest

  • Productivity Reporting

    An Overview of Connecting to Data and Using Expressions in Telerik Reporting Webinar

    Earlier today, I presented a webinar about Connecting to Data and Using Expression in Telerik Reporting. Thanks to everyone who attended and I hope you all learned something new. If you were unable to attend, the webinar has been recorded and is now available on Telerik TV. I've posted the link below. An Overview of Connecting to Data and Using Expression in Telerik Reporting The latest release of Telerik Reporting features two completely new data source components, the SqlDataSource component and the ObjectDataSource component. These components make it easy to bind to Business Objects or ADO.NET supported databases. Once a ...
    June 03, 2010 1 min read
  • Productivity

    Mocking successive calls of similar type via sequential mocking

    In this post , i show how you can benefit from  sequential mocking feature[In JustMock] for setting up expectations with successive calls of same type.  To start let’s first consider the following dummy database and entity class. public class Person {     public virtual string Name { get; set; }     public virtual int Age { get; set; } } public interface IDataBase {     T Get<T>(); }   Now, our test goal is to return different entity for successive calls on IDataBase.Get<T>(). By default, the behavior in JustMock is override , which is similar to other popular mocking tools. By override it means that the tool will consider always the latest user setup. Therefore, the first example will return the latest entity every-time and...
    May 31, 2010 2 min read
  • Productivity Testing

    Is your test method self-validating ?

    Writing state of art unit tests that can validate your every part of the framework is challenging and interesting at the same time; it's like becoming a samurai. One of the key concept in this is to keep our test synced all the time as underlying code changes and thus breaking them to the furthest unit as possible.
    May 23, 2010 2 min read
  • Productivity

    Benefits from Telerik and Visual Studio Online Gallery in VS2010

    With the VSIX deployment in Visual Studio 2010 the world become a better place for developers – we are now able to add small tools to our IDEs and customize them the way we want with just a few megs of download from the Online Gallery. If we don’t use the tool for some time and we don’t want it to eat some of our PC resources we can just disable it through the Extension Manager. If we don’t like a tool we can simply remove it. The VSIX deployment guarantees that a tool is uninstallable, as the deployment is...
    May 19, 2010 2 min read
  • Productivity Testing

    Silverlight ChildWindow and Popup Support in WebUI Test Studio and WebAii Testing Framework

    The 2010 Q1 Service Pack adds an important solution to a common problem in automating Silverlight applications – ChildWindow and Popups automation support. The Problem Automating popups has always been a challenge for the UI automation tools. In Silverlight it’s even more complicated because the popup controls are not part of the SL Visual Tree. WebUI Test Studio could not access those elements in the visual tree and we couldn’t automate them. The Solution With the 2010 Q1 SP release we add a new assembly (Telerik.WebUI.PopupTracker available in the installation Bin folder) to serve as popup tracker. Those who ...
    May 19, 2010 4 min read