Transitioning to Telerik Test Framework

4 posts, 0 answers
  1. Lisa
    Lisa avatar
    34 posts
    Member since:
    Nov 2017

    Posted 01 Feb Link to this post

    I'm on a team of three seasoned automation developers and to be honest we're finding the UI of Test Studio is really holding us back. It takes way more time to automate things the way we'd like to, than writing the code would. The problem is we've put in a lot of work into making tests to use as tests as steps in other tests.

    Is converting the tests into unit tests anything like the code you'd write if using the Test Framework? If we wanted to start using the Framework, would we have to throw the tests we have out the window or can we make this work somehow?

  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    281 posts

    Posted 02 Feb Link to this post

    Hi Lisa,

    It is possible to convert all test steps to code indeed. Please, refer to this article for further information. 

    Best Regards,
    Nikolay Petrov
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Lisa
    Lisa avatar
    34 posts
    Member since:
    Nov 2017

    Posted 02 Feb in reply to Nikolay Petrov Link to this post

    Sorry Nikolay, maybe I wasn't clear. I've read that article. My question is, is the code then identical to using the Test Foundations classes? If we switch to writing them will that code mesh? Are there any differences I should know about?

     

     

  4. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    281 posts

    Posted 05 Feb Link to this post

    Hello Lisa,

    If I got right this query you want to re-use your existing tests in a unit test project. Unfortunately, It will be not possible to convert in code all your test steps and to use them in a separate unit test project directly. For example - Test Studio uses Pages notation to locate the elements. In a unit test it will be necessary to locate each element based on find expressions.

    In general Test Studio is based on the Testing Framework. In this context all of the UI recorded test steps can be represented in code - based on the Testing Framework API

    I hope this clarification helps. Please, let me know if further information is necessary.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top