This is a migrated thread and some comments may be shown as answers.

Is passing manager Object as paramter mandatory in every function

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
VVP
Top achievements
Rank 2
VVP asked on 18 May 2015, 06:52 AM

HI,

 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.

Thanks,

VVP

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 19 May 2015, 08:09 PM
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.


Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
VVP
Top achievements
Rank 2
Answers by
Cody
Telerik team
Share this question
or