Telerik blogs

Latest

  • 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
  • Productivity

    Top 5 Reasons Why You Should Refactor Your Code

    I am a huge proponent of writing quality code, a view that is shared by many of my colleagues. Unfortunately, I do encounter those who do not share my enthusiasm. Their view is often one of “Get It Done,” whereas I take the position of “Get It Done Right.” When discussing refactoring, the “Get It Done” developer often brushes it aside as a waste of time. I want to address that crowd, and anyone else who eschews refactoring, with my top 5 reasons why you should refactor your code. Enjoy! 5. Your Code Sucks Broken Bridge / jollyUK / CC BY How often do you write an...
    May 27, 2021 4 min read