Record from within code???

2 posts, 0 answers
  1. Rob
    Rob avatar
    4 posts
    Member since:
    Apr 2012

    Posted 17 Apr 2012 Link to this post


    New here but have automation experience using various tools. One question I have is can you not code and record at the same time? Or is it simply record and convert to code?
    I would like to be able to build my automated tests from the code view rather than steps view and have the ability to record against a new element from within the code. LIke you can in Visual Studios Coded UI, Test Partner and Quick Test.

    Any details much appreciated.


  2. Byron
    Byron avatar
    184 posts

    Posted 18 Apr 2012 Link to this post

    Hello Rob,

    Test Studio does not actually generate code for recorded steps unless/until you convert the step to code. Test Studio actually records all the test steps into an XML formatted .tstest file. This is a result of our product philosophy, which is designed to only use code where necessary. It is possible to work with coded steps and record new steps within the same test -- for example, if one or more steps in a test have been converted to code -- but new recorded steps will use the browser to identify target elements. However, once you have added an element from a page to the element repository, you can write any code you want referencing that element.

    Please let me know if I can help you further.

    Kind regards,
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top