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

How to create function/method globally so user can use it in many test script in same project

5 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priyanka
Top achievements
Rank 1
Priyanka asked on 22 Aug 2013, 10:21 AM
Hi Telerik team,
I want to call same function/method in many of the web test in same project.
So is it possible to create then function/method globally and call it in many of the web test in same project????
And where should i write that function/method???

Thanks,
Priyanka

5 Answers, 1 is accepted

Sort by
0
Accepted
Boyan Boev
Telerik team
answered on 27 Aug 2013, 09:19 AM
Hi Priyanka,

If you would like to create global variables or functions in Test Studio Standalone version that are accessible from all the tests within the test project, you can create a utility class. This class will contain the intended functions or variables.

Let me know if this helps.
 

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Priyanka
Top achievements
Rank 1
answered on 27 Aug 2013, 09:23 AM
Hi Boyan,

Yes, this is work for me as i want.
Thank you so much for your valuable guidance.

0
Boyan Boev
Telerik team
answered on 30 Aug 2013, 08:28 AM
Hi Priyanka,

Glad to hear that!

If you need additional assistance, please do not hesitate to contact us. 

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Priyanka
Top achievements
Rank 1
answered on 30 Aug 2013, 08:42 AM
Hi Boyan,

I had written another forum but didn't get replay yet.
Can you please help me out to solve that problem, its urgent.
Please check out the following forum.
http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/how-to-pass-excel-worksheet-name-path-as-string.aspx

Thanks
0
Velin Koychev
Telerik team
answered on 04 Sep 2013, 07:56 AM
Hi Priyanka,

I replied to your other forum question and I hope it resolves your problem.

Let me know if you need additional assistance
 
Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Priyanka
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Priyanka
Top achievements
Rank 1
Velin Koychev
Telerik team
Share this question
or