HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Can we run test cases in a sequence? Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 140


1/27/2014
Unregistered User
Unregistered User
Posts: 140
Can we run the test cases in a sequence ? If yes ,then here is my question –
If we need to record two test cases .
Test case 1 :
Add a Customer name in the Application .
Test case 2 :
Delete the Customer name added in the Test case 1.
 
Now, we need to make sure that, the user has to add a customer name before deleting it (in order to execute the test case 2 ,test case 1 need to be executed successfully)

-Paras
0 link
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583


1/28/2014
Vadim @StresStimulus
Vadim @StresStimulus
Administrator
Posts: 583
If you need conditional execution, then you can use Conditional Transactions added in v3.5, described here 
Follow these steps:

  1. Append sessions from Test case 2 to the Test case 1, as shown in the video "Clone sessions from one test case to another" in the paragraph 6 of this post.

  2.  In Test case 1, create an extractor "Add Customer Name Status", which returns a message from the page about adding a customer name.

  3. Create a conditional transaction which includes the sessions from Test case 2 and configure it similarly to screenshot below.








Did I answer your question?

-Cheers,
-Vadim


0 link






Copyright © 2017 Stimulus Technology