Telerik blogs

Latest

  • Productivity Testing

    Using jQuery selectors in WebUI Test Studio

    One of the key factors to the increased popularity of jQuery is its powerful selector syntax that can be used to find elements in the DOM. The syntax enables simple selections like selecting an element using an ID (#my_id) to more complex mutli-element selections and filtering. The power and popularity of jQuery selectors prompted many of our customers to request support for similar selection/query syntax in our WebAii Testing Framework. It is worth noting here that WebUI Test Studio is built on top off the WebAii Framework and customers using WebUI Test Studio have full access to the framework API ...
    May 27, 2021 3 min read
  • Productivity Testing

    JustMock. Not just mock. A tale about duality.

    As JustMock is approaching its release date I decided to blog about it and more precisely about its dual nature. Probably you already know JustMock supports two (proxy and elevated) modes. That's why I am speaking about duality. In fact the duality in JustMock has many aspects. We could even say JustMock was built on two continents as one of the brains behind JustMock is working remotely on the project. So, duality is everywhere :) By the way, check out Mehfuz's blog, it is excellent place where you can see JustMock in action. I've been thinking for some time about doing...
    May 27, 2021 7 min read
  • Productivity Testing

    Execute your Test List with Windows Task Scheduler

    Automated testing can be broken into two parts from a process perspective.  First, there is the creation of the test in which you record all of your actions and verifications for a particular scenario.  Second, you execute your test on a frequent basis in order to find regressions in your application.  In this blog I will demonstrate a simple option for scheduling your tests for execution using a built in feature of Windows. For WebUI Test Studio users that do not want to use Team Foundation Server to schedule test list executions there is a great alternative already built into ...
    May 27, 2021 5 min read
  • Productivity Testing

    Silverlight Test Automation: Changing the Element Find Strategy to Avoid TimeoutException

    The default behavior of the WebAii Testing Framework (and WebUI Test Studio respectively) searching for the application visual elements is to timeout after a certain period of time if the element is not found. [TestMethod()] public void TelerikComSLTest1() { // Enable Silverlight testing Manager.Settings.EnableSilverlight = true; // Launch an instance of the browser Manager.LaunchNewBrowser(); // Navigate to : 'http://www.telerik.com/' ActiveBrowser.NavigateTo("http://www.telerik.com/"); SilverlightApp app = this.ActiveBrowser.SilverlightApps()[0]; Image titleImage = app.Find.ByName<Image>("Title"); // will timeout if the image name is changed // Wait for visible 'TitleImage' titleImage.Wait.ForVisible(); // do whatever else is needed ...
    May 27, 2021 4 min read
  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services Part IV: Making an OData feed from your Domain Service

    Read the other posts in this series: Part I Part II Part III In the previous blog posts listed above, I showed how Telerik’s new LINQ implementation works with WCF RIA Services. I showed how to build your own Domain Service, build custom query methods, and make a metadata class. In this post I will show how to expose your Domain Service as an OData feed. The Open Data Protocol (OData) is a Web protocol for querying and updating data in a RESTful fashion. You create OData feeds when you want to set up feeds for 3rd parties to consume, typically without your knowledge. For example...
    May 27, 2021 3 min read