Telerik blogs

Latest

  • Productivity

    5 Things You Should Know About Refactoring in C#

    There are many misconceptions among developers and development managers about refactoring. Perhaps a consultant used refactoring as an excuse to spend needless cycles reading blogs, or maybe a “refactoring” was blamed for a large swath of bugs found in a release. Regardless of the source, there are development shops that cower in fear or scream in terror when the word “refactoring” is uttered aloud. The problem is they were frightened by something other than refactoring. I hang out with developers around the globe at conferences, user groups, and sometimes just to grab a bite to eat. I enjoy discussing code and long...
    May 27, 2021 3 min read
  • Productivity

    Regular VS Simulated Clicks

    Test Studio's clicking and typing steps come in two varieties: regular and simulated clicks. You can flip between the two by going into the Properties menu for the respective step: A regular (non-simulated) click/typing is an action that is injected directly into the DOM of the page. This has advantages - it's faster and more reliable. It will work even if you run the test on a locked desktop. But it's fundamentally different from a real user clicking/typing on a control. And the disadvantage is that it will not trigger any events that are associated with the control in question.  ...
    May 27, 2021 2 min read
  • Productivity

    Tweet your Performance results

    You might already be familiar with this article. It will tell you how to access your results from code so that you can do whatever you like with them (tweet them, use them to build up a custom dashboard, post them on Facebook etc.). But that's just for functional test. What about  Performance testing? Can you access your Performance data from a coded snippet?  Yes, you can. It's slightly more complex. Performance results are not available immediately after a test has finished running. Hench you won't be able to access them from the OnAfterTestCompleted (reference). Instead you have to access ...
    May 27, 2021 2 min read
  • Productivity Testing

    Encrypting Passwords in Test Studio

    Using safe, generic accounts for testing is a boon; however, sometimes that’s simply not possible. Corporate policies may prevent “fake” accounts, or perhaps the test accounts have access to sensitive areas. In these cases it’s critical you’re able to secure the logon credentials. Test Studio’s Service Pack 2 for our 2012 R1 release now enables you to securely encrypt passwords in your tests with just a simple click. Here’s how a test logging on to our demo app looks. You can see the password is stored in clear text in the test: The password is also stored in clear text ...
    May 27, 2021 2 min read
  • Productivity Testing

    In Asia/Pacific Time zones? Join Telerik for a Test Studio Webinar on 22 Aug!

    We know it’s not easy trying to get in on live webinars if you’re in Asia or Pacific time zones. If you’re in that region then you’ll be happy to hear that Telerik’s Dhananjay Kumar will be putting on a Test Studio webinar at 3pm IST on Wednesday, 22 August. DJ will be presenting an introduction to Test Studio and walking through solving common web automation problems. Read more about his webinar at his blog, then go register! About the author Jim Holmes Jim Holmes has around 25 years IT experience. He is co-author of "Windows Developer Power Tools" and ...
    May 27, 2021 1 min read