Telerik blogs

Latest

  • 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 27, 2021 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 27, 2021 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 27, 2021 4 min read
  • Productivity Testing

    WebUI Test Studio 2010 Q1 Service Pack is released!

    Service Pack 1 of WebUI Test Studio 2010 Q1 is now available in the Telerik client accounts. The official update includes some cool new features, important bug fixes and a lot of improvements. We recommend it to everyone interested in automation of HTML and Silverlight applications! As always the new release enhancements concern all the Automated Testing Tools. Let me highlight some of the important additions. TestExplorer: Run To Selected Step This feature has been requested quite a lot so we have now added it with the Service Pack. To use it just: - Select a step in ...
    May 27, 2021 2 min read
  • Productivity

    Mocking property sets

    In this post, i will be showing how you can mock property sets with your expected values or even action using JustMock. To begin, we have a sample interface: public interface IFoo {     int Value { get; set; } } Now,  we can create a mock that will throw on any call other than the one expected, generally its a strict mock and we can do it like: bool expected = false;  var foo = Mock.Create<IFoo>(BehaviorMode.Strict);  Mock.ArrangeSet(() => { foo.Value = 1; }).DoInstead(() => expected  = true);    foo.Value = 1;    Assert.True(expected); Here , the method for running though our expectation for set is Mock.ArrangeSet , where we can directly set our expectations or can even set matchers into...
    May 27, 2021 2 min read