5 Answers, 1 is accepted
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.
Byron
the Telerik team
Test Studio Trainings
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.
Cody
the Telerik team
Test Studio Trainings
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.
I understand your concern. I've filed a feature request for you on this here. Let me know if I missed something.
Cody
Telerik