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

Test As Step is this option available for Free Telerik Testing Framwork

3 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abrar
Top achievements
Rank 1
Abrar asked on 01 Jun 2011, 04:38 AM
Test As Step is this option available for Free Telerik Testing Framework?
if so please give me an example code how can I use that feature. I am not using Test Studio
I want to code using c#.

3 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 01 Jun 2011, 04:40 PM
Hello Abrar,

There is code for this; however it only applies if you are using Test Studio as well:

// Execute test 'Google'
this.ExecuteTest("Google.tstest");

There are no test files (.tstest or .aii) if you are purely using the Framework. This process is still possible, though. Simply define a function and give it a unique name. The code in this function will be your child test. Then call that function later in your code (parent test). This functionality closely resembles "Test as Step," it is just not called that as you are not calling an actual test file.

Regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Abrar
Top achievements
Rank 1
answered on 03 Jun 2011, 05:52 AM
Hi Anthony

Thanks for the information.Is it some feature we can expect in future in Telerik framework?
It will be a good option if you  provide this option by not limiting it only to test studio, the testing wil be moe effective.

Thanks
Abrar
0
Anthony
Telerik team
answered on 03 Jun 2011, 04:09 PM
Hello Abrar,

If you are solely using the Telerik Testing Framework, the you have no files in our native Test Studio format (.tstest or .aii). This makes the code I supplied earlier irrelevant. Thus, there really is no new feature to implement. The functionality currently exists as I outlined before.

Regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Abrar
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Abrar
Top achievements
Rank 1
Share this question
or