Telerik blogs

Latest

  • Productivity

    Mocking LINQ to SQL [Continued…] using RLINQ

    After making the post on mocking LINQ to SQL, this morning i was having a chat with Stephen forte and come to know that telerik a has product named RLINQ. RLINQ is built on top of OpenAccess and it supports variety of databases. Being curious, i thought of giving a spin with it and may be try to mock its LINQ to SQL implementation using JustMock.   Now, before i start, i also found that OpenAccess has a free / express version that works on top express database [Ex.sqlexpress] but supports all the features that full version offers. I will be using the...
    May 27, 2021 3 min read
  • Productivity Testing

    New videos for Telerik WebUI Test Studio

    The new version of Telerik WebUI Test Studio has been out for a couple of weeks and we have already received a lot of positive feedback on the new features and improvements we have made. We have also produced a lot of new video content to help you get quickly started: Webinar: What's New In WebUI Test Studio Q2-2010 Silverlight Child Windows And Popups Out of Browser Silverlight Applications Image Verification Manual Test Steps Export Storyboard To HTML Continue Recording From Step Connect To Existing Browser Instance  Handling UnExpected Dialogs Getting Started With Silverlight Getting Started With AJAX  Getting ...
    May 27, 2021 1 min read
  • Productivity

    JustMock. The tale continues... (Part 3)

    Last time we saw how we can inject code at the beginning of generic methods. Today I will show you how to inject code in properties. I will cover the syntax for static classes as well. So, let's start with a demo program that I will explain line-by-line. using System; using Telerik.CodeWeaver.Hook;   namespace ConsoleApplication4 {     public sealed class TargetClass1     {         public TargetClass1(string text)         {             Text = InitText = text;         }           public string InitText { get; private set;...
    May 27, 2021 4 min read
  • Productivity

    Localizing the Validation

    The example will work with the latest internal build and the feature required will be released in the Silverlight4, 2010.Q2.SP1. The Full Source Code is here. A few months ago we noticed a lot of XAML code being copied around. It was supposed to enable validation in our controls. It is all about those red borders showing around controls like RadNumericUpDown, RadComboBox, RadDatePicker etc. So we have created the ValidationTooltip in the assembly Telerik.Windows.Controls, namespace Telerik.Windows.Controls.Chromes that was supposed to encapsulate these visuals keeping all the storyboards and templates at one place. This all happened in Silverlight 3. Now in Silverlight 4...
    May 27, 2021 6 min read
  • Productivity Testing

    VS 2010 Disabled Deployment Trouble with UI Coded Tests

    VS 2010 introduced a surprise for us – the deployment feature is disabled by default. Let me explain with this post how this hits everyone running coded tests and how to resolve the problem. Here is a common scenario one can hit the problem with: 1. Add and record a WebUI Test Studio test in Visual Studio 2010. 2. Convert a step to code. 3. Go to Test View and run the test – you may get an error similar to the following one:   As you may note VS looks for the .dll in the TestResults and it’s Out ...
    May 27, 2021 2 min read