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

[Solved] Conditional Logic without Coding

1 Answer 26 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.
Mark
Top achievements
Rank 1
Mark asked on 18 May 2009, 12:02 PM
Is it possible to use Conditional Logic without the need for "Add Code Behind" File? As example I need to see if Field A has the value "1" and if so perform a Test; if Field A has a value of not equal to "1" run another Test?

Thank you for your help.

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 18 May 2009, 06:22 PM
Hi again Mark,

You would need to have that Code Behind File in order to have that conditional test run. In the scenario you described, you could convert the step that would trigger the test to be executed into code, find that field in the code and use it as the condition to run the Test As a Step, which you would also convert to code, and only run that Test As a Step if the condition is met.

Here is a video that you can reference if you have any general questions on Customizing Tests: http://www.artoftest.com/community/work-with-code/customize-your-test.aspx

Hope that helps, and please let us know if this will work or you have any other custom scenarios/steps you might have in mind.  

Sincerely yours,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Missing User
Share this question
or