Is passing manager Object as paramter mandatory in every function

2 posts, 0 answers
  1. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 18 May 2015 Link to this post


     There is the framework which i work currently where Manager object is passed in each and every function. Up on clarifying i been told that it is mandatory else test scripts will fail.

    I need input from experts whether that is the case here in Telerik Test ? Sorry if this is very simple doubt.

    I am very new to Telerik Test studio ,however i worked on CodedUI and C# automation tools. Hence this is a new thing for me.



  2. Cody
    Cody avatar
    3360 posts

    Posted 19 May 2015 Link to this post

    Hello VVP,

    The best thing about Test Studio is its record and playback capability. When using it you don't have to think about a "Manager" object. It's only when you absolutely have to work in code that a Telerik Manager object does enter into the picture. Even then if you're just using a coded step in a Test Studio test script, it's all handled for you. While there is a Manager object under the covers, it's already initialized for you and our API usually uses Manager.Current under the cover so that you're not having to pass in the object to our various API functions.

    If you can give me a more real world concrete example I can better advise you on what's needed to use it with Test Studio.

    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top