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

"Customize step in code" greyed out on IF/THEN/ELSE step

5 Answers 121 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clement
Top achievements
Rank 1
Clement asked on 01 May 2012, 03:06 AM
I need to customize the verification step within my IF/ELSE step but it's grayed out.

Any ideas ???

5 Answers, 1 is accepted

Sort by
0
Byron
Telerik team
answered on 01 May 2012, 06:23 PM
Hello Clement,

It sounds like you are trying to customize the if condition of your logical step in code. Logical steps cannot be customized in code, including any step incorporated as a condition of the step logic. You also cannot add a coded step as a condition to a logical step. If you would like to create a step with logic or conditions that require code, you will need to create a coded step and implement the if/else logic in code.

Please let us know if we can help you further.

Greetings,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Jon
Top achievements
Rank 1
answered on 29 Aug 2012, 03:48 PM
This really is unacceptable.  If we are going to hand off a template test to our testers, then they need to be able to see the test logic without some part of the flow being hidden in code.  Please add this as a feature.
0
Cody
Telerik team
answered on 29 Aug 2012, 04:48 PM
Hello Jon,

I am sorry you don't see Test Studio meeting your needs. I am uncertain what exactly we should file as a feature request however.

The technical reason that all of our logic blocks cannot be customized in code is that in code we don't have an API that allows you to "go to step N". Without this it's not possible to have an IF condition in code that can execute step X or step Y depending on the results of the condition evaluation. Currently all of our coded steps must be self contained and cannot rely on non-coded test steps. Of course the coded step can call as many other code functions as desired, just not non-coded test steps.

Regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Viral
Top achievements
Rank 1
answered on 15 Aug 2013, 02:32 PM
Hello,

I also agree with the comment Jon posted on Aug 29, 2012 that the inability of Telerik to specify the result of a coded step within a logical condition is completely unacceptable.

It is feasible that a logical condition needs to be tweeked in code for performance or complexity reasons.

I see this limitation as a major drawback of Telerik as I do not want to have to put the remainder of a Test into a single step simply because a logical step cannot accept a coded step as a logical condition.

I strongly suggest that this feature be provided as soon as possible, especially as I am not the only customer that is disappointed that Telerik cannot have coded steps as logical conditions.


0
Cody
Telerik team
answered on 15 Aug 2013, 05:25 PM
Hi Viral,

I understand your concern. I've filed a feature request for you on this here. Let me know if I missed something.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Clement
Top achievements
Rank 1
Answers by
Byron
Telerik team
Jon
Top achievements
Rank 1
Cody
Telerik team
Viral
Top achievements
Rank 1
Share this question
or