Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Productivity Testing

    Dynamic Frames? No Problem.

    Many sites and web applications are using iframe elements to create tabs or sections on the page which the user can enable/disable/move at will. These often are being created in such a way that putting an ID on each frame is difficult or not feasible. As each frame is created or destroyed, of course, the index of a given frame within the frames collection changes. These factors combine, making it very difficult for an automation framework to reliably locate elements within the frames. Beginning with the R2 release, Test Studio 2013 introduces Custom Tags for Frames, a way to ...
    December 09, 2013
  • Productivity Testing

    30 Days of TDD – Day 27 – Reader Question #3

    Adam Hall asks Just a quick question regarding TDD, encapsulation and DateTime.Now() I’ve often seen suggestions that you should control the behavior of DateTime.Now so that you can reliably test the way classes react to date times. Controlling DateTime is a solution, but it smells of violating encapsulation, you are affecting objects from outside of their boundaries (and indeed system wide) In your experience what is the best way to deal with Dates in TDD?
    December 06, 2013
  • Productivity Testing

    Using QUnit To Unit Test PhoneGap/Cordova Applications

    As the state of hybrid web development matures, developers are looking to bring their tools and techniques from more "traditional" development to this new medium. One of these techniques, unit testing, can be a bit tricky to setup in PhoneGap/Cordova applications. In this article, we'll look at how to build a test suite for a hybrid app with QUnit - a popular and easy to use unit testing library. We'll look at not only how to build and run tests, but also how to automate them as well.
    December 06, 2013
  • Productivity Testing

    30 Days of TDD – Day 26 – Reader Question #2

    In this post Emad Mokhtar asks: I want to know how to test my business logic which is basically related to database, I know dealing with database is integration test not unit test but this is what I want to take care of, weather my Employee entity inserted or not, did my validation work or not, what if I insert Employee and failed when in inserting his/her addresses, and can I connected to database.
    December 04, 2013
  • Productivity Testing

    Mocking Services & Data in Mobile Apps

    On larger projects, where different team members work on features that are dependent on other team members' contributions, the ability to work as if the feature already exists, when in fact those developers haven't completed it, can keep overall progress chugging along. When it comes to web and mobile apps, one of the classic "divides" occurs between client and server. You might have developers focusing solely on the front end or mobile app, with others focusing on server-side concerns, like web services. Have you ever been on a team where the client-focused developers had to wait for server-side devs to complete work on HTTP services before they could continue on? This does not have to be the case. Mocking HTTP services itself isn't difficult – and depending on your client side architectural choices, you can also mock your data using your models/view models. We take a quick look at two of these options in this post.
    December 04, 2013