Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Productivity Testing

    Web components styling tests automation, cross-browser solution

    It’s been quite some time since my last post concerning the RadControls automation tests developed with Selenium. We still have a lot to share about our Selenium adventure, which could help those, interested in similar solutions. First of all, I believe you are unable to completely verify the visual appearance of your Web application via automated tests. There is no way you can skip the manual check if the app “looks” good and has no visual glitches anywhere. Still, the client-side styling tests automation can be considered to be the first step for the necessary web page appearance verification. I ...
    April 07, 2008 2 min read
  • Productivity Testing

    How precise automated tests catch totally unexpected bugs

    You may remember my post where I mentioned the technique I like regarding writing precise Selenium tests. I believe the good test has double value if it doesn’t verify just the case it is written for, but even catches totally unexpected bugs. How does such test look like? Several days ago our Web Grid developers were working on resolving a weird bug in the control. As soon as the new build was ready, I started Selenium tests execution to verify that everything with the build is OK. Some of the tests failed, though, throwing an error that a specified element ...
    November 05, 2007 2 min read
  • Productivity Testing

    ASP.NET Web Control Performance Test in Selenium

    Since Selenium has been designed as a browser-oriented tool, load/performance tests definitely aren’t among its strong points. With the help of Selenium Remote Control  one can make precise performance test in his/her preferred language (executing number of opening page steps for example and calculating the average time), but I will limit this post in a really simple example test based entirely on Selenium Core. I’ve used RadGrid as a complex Web Control to check whether its execution time exceeds over an accepted period. What the Selenium Core test needs is just a result available for verification. So adding the ...
    August 20, 2007 2 min read
  • Productivity Testing

    Pressing keys simulation in Selenium, RadInput on fire

    Have you thought whether it’s easy to automate tests, simulating key pressing?  How is this handled in a browser-oriented tool like Selenium? Fortunately Selenium provides API for keyDown/Up and keyPress as well as a command to fire any event, which triggers correspondingly “on”-handler (of course - “fireEvent”). On the other hand the “type” command just sets the value of an input field, so that one can set new value of the input element without the need to fire any event. What if we need to see how a control behaves in case of some specific user input, though? An input ...
    August 12, 2007 2 min read
  • Productivity Testing

    Selenium IE performance issues; Tests optimization

    As started in my previous post Selenium supports XPath expressions, which is actually one of the most commonly used DOM element location strategies. Unfortunately people complain about slower tests in IE (the problem is explained in details and discussed here) because of the XPath as well as of some failing tests in IE, created for example with Selenium IDE in Firefox. These are due to the fact that Selenium includes external library in order to support XPath in IE too and Firefox supports it internally. So in other words, Selenium XPath support definitely differs in IE ...
    July 17, 2007 3 min read