Knowing how to create flexible locators is critical to crafting stable tests that will hold up in the long run. The example I use in Telerik’s Online Instructor Led and Team training sessions centers around working with a row from a table. This table, to be precise! Note the grid control has created an ID value for that row – and that ID is completely position-based: ctl00_MainContent_PeopleGrid_ctl00__1. (Look at the row above and below. The IDs all end with “__<number>”.) By default, Test Studio’s recorder will define this row’s locator using that ID value. Normally IDs are ...
I’ve been working on several exciting enhancements since I moved to develop Fiddler full-time last month. Major work is underway to improve Fiddler and the Fiddler website, based in part on feedback we’ve received from the poll on the Fiddler homepage.In today’s post, I’d like to quickly point out a few minor improvements in the current release version that you might have overlooked.Composer ImprovementsFiddler’s Composer enables you to create and issue a HTTP(S) request, either from scratch, or by dragging in a prior request from the Web Sessions list. The Composer is especially useful for testing ...
Unit testing LINQ queries can be really challenging. This requires a deep knowledge of how LINQ queries work and how they filter results based on predicate values. While I am adopting test first development approach, it is most likely that I want to verify the behavior of a query for correctness. In this post, I will show how easy it is to mock a LINQ query using JustMock for a given context. First, let me build up the context with a simple entity class for Employee that has two properties: Next, I created a dummy context that inherits the LINQ to SQL...
RadPivotGrid’s development is gathering momentum and Q3 brings along a major improvement: our pivot grid control for Asp.Net Ajax already comes equipped with a powerful filtering mechanism. Let’s look straight into what this new feature offers. Filtering in RadPivotGrid supports three modes: report, label and value. 1. Report filters Report filters are applied on fields that do not participate in the grouping of the data but are still present in the underlying data source:
So, for example, let’s suppose that your data items grouped by RadPivotGrid feature a Category property with 100 unique values. Furthermore, your manager needs a report where the data should be grouped...
A few months ago, I blogged about Telerik’s ASP.NET RibbonBar control (or just ribbon for short) in general: why use it; a few words about the ribbon spec; improvements we have made and future plans we have for it. Now, few days after the 2012 Q3 release, I am blogging about our progress in this area, as well as bringing up some other lesser known features of the ribbon. What's old new in the Ribbon I did mention this in my previous post, but perhaps I did not emphasize it enough: apart from complying with the MS specs more, we introduced two major features for...
It is only a few days since the 2012 Q3 release of RadControls for Silverlight and WPF and we have something new to show you. Here in Telerik we really appreciate feedback from you, the customer. Following this feedback we revamped our ChartDataSource to include the most desired features and we also significantly improved performance. Let’s start with a few words on the ChartDataSource itself. If you are familiar with it you can safely skip this section and move directly to the goodies. The ChartDataSource is a companion control, designed to work together with our new charting solution –...
Unit tests are most effective when the System Under Test is isolated from its dependencies. The best way to isolate your code (and make your code more SOLID) is through dependency injection. But even if you follow the rules of SOLID and inject all of the necessary dependencies in as interfaces, you are still faced with the fact that you depend on them. In order to test your code, something concrete has to be passed into the code in order for it to even compile. Your production code will most likely use a factory to create concrete instances of the dependent interfaces, but that...
Since we introduced the RadPivotGrid for ASP.NET AJAX in Q2 2012 we have been working hard to bring new functionalities and make our next grid control the best on the market. Now with the release of Q3 2012 we are happy to tell you that we are even closer to achieve desktop-like experience in the browser. The new Telerik’s PivotGrid ConfigurationPanel is a perfect showcase of what RadControls could do and how the web could encapsulate rich client-side interactions with heavy CPU intensive backend calculations. Let’s go through the details.
Today is a big day for the Windows Phone world with the long-awaited release of the Windows Phone SDK 8.0, a day after “the latest launch blockbuster event to rock the technological launch season” as itwire.com called the official unveiling of Windows Phone 8 in San Francisco yesterday. Exciting news for the Windows Phone ecosystem is coming from Nokia as well. And this time it is not about the next amazing device. Nokia has just announced its Premium Developer Program to help you get a jump-start on Windows Phone development. Once you join the program you get Telerik RadControls for Windows...
Roger that! We are excited to let you know that RadControls for Windows Phone 8 are now available for download, released simultaneously with the official launch of the WP8 developer platform today at /build//. Less than two weeks after the last release of RadControls, we are shipping a new version of the product, with full support for Windows Phone 8 that leverages the platform’s new features and offers speech recognition support as well as a responsive image control. See what’s hot:
Speech Recognition support – end-users can navigate and interact with your app using their voice. We’ve created a demo to show you...