Telerik blogs

Latest

  • Productivity

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

    Last time we talked about how to inject code at the beginning of a method. Today I will post how to inject code at the end of a method and I will cover some more complex scenarios as well. So lets start with sample program and then I will explain it in details. using System; using Telerik.CodeWeaver.Hook;   namespace ConsoleApplication2 {     sealed class MyClass     {         public void SayHello() { Console.WriteLine("Hello!"); }           public int SayHello(string name)         {             Console.WriteLine("Hello {0}!", LastName = name);             return (name ?? string.Empty).Length;         }           public string LastName { get; set; }           public int Increment10(ref int...
    May 27, 2021 6 min read
  • Productivity

    Team Transparency and TeamPulse

    In June, Stephen Forte wrote a great blog post on Transparency and Software Teams. As Stephen mentioned, Telerik has embraced transparency as a key practice of an effective Application Lifecycle Management (ALM) strategy. Quality is a result of feedback cycles – the tighter the feedback cycles on your team, the more ability your team has to recognize issues and resolve them early. In fact, at Telerik we went so far as to try to have almost real-time transparency with the release of our free Project Dashboard tool that sits on top of Microsoft Team Foundation Server. Our goal was ...
    May 27, 2021 3 min read
  • Productivity Testing

    A look under the hood at WebUI Test Studio's Execution Engine (Part 2 of 2)

    In Part 1 we looked at how we can use WebUI Test Studio’s Execution engine to execute tests either using an individual test or a group of test within a test list.  In Part 2, we are going to look at how we can take the results of our execution and publish them to a non-default location. Let’s take a look at the first two options for results publishing, out=[folder path] and root=[folder path]. The out=[folder path] option allows us to copy our results file to any directory on our computer.  For example, let’s say that we multiple projects ...
    May 27, 2021 3 min read
  • Productivity Testing

    Using the new Image Verification feature

    With the release of Q2 (coming in couple of weeks), our WebUI Test Studio will enable customers to build image verifications against specific elements on their pages. Image verification can be used to verify exact visual matches for both HTML pages and Silverlight applications. To record an Image Verification step in WebUI Test Studio, follow the steps below: 1. On the recorder toolbar, enable the highlighting surface: 2.  Hover over the element on the page that you wish to visually verify. For this example, I have navigated to the google.com home page and I’m going to verify the Google logo ...
    May 27, 2021 3 min read
  • Productivity Testing

    A look under the hood at WebUI Test Studio's Execution Engine (Part 1 of 2)

    WebUI Test Studio comes with two options for test execution.  The first is the result of our tight integration with Visual Studio and uses MSTest.exe.  The second, and the subject of this post, is the built-in execution engine ArtOfTest.Runner.exe.  In this post we will look at all the command line options for the ArtOfTest.Runner.exe.  In Part 1 we will look at the two execution command line options as well as how to simplify working with the command prompt.  Part 2 will be dedicated to showing the flexibility of the execution engine by showing the results publishing options. The ArtOfTest.Runner.exe is ...
    May 27, 2021 4 min read