Skip to content

Creating Scenarios and Assembling Test Scripts

This article is a part of the Self-paced Learning Series for the Course: First-Hand Experience of Worksoft SaaS.

Please refer to the link for more details on the Course.
 
 Mapping the Worksoft SaaS feature to the Course Context :: Lesson 3 :: Topic 3


1. Creating Scenarios and Assembling the Test Scripts of Test Case 1
To perform a test (on the Worksoft SaaS cloud) for our Test Case 1we will assemble the 3 Test Scripts into Scenarios. 

As discussed earlier, the first Test Script (Open Web page) is a pre-requisite step, which means, there is a good chance of reusability. Hence, we will create this as an individual Scenario and prefix it to any of the Core Scenarios.

Coming to the Core Scenario, the second Test Script (Enters and Submits the input values for HICC and also calculates the Results) and third Test Script (Verifies the Actual Results with the Expected Results) contain the steps to perform the actual function. Hence, we will combine these two Test Scripts into one Scenario.

After both the Scenarios are created and the Test Scripts are assembled into their respective Scenarios, we will then prefix the first Scenario as a Predecessor to the Core Scenario.

              

As we know that Versioning is applicable to any entity in Worksoft SaaS, in this module, we will apply this concept to the Scenario entity.
       
2. Practice:

Create the first Scenario: 
  1. Click Menu and then Navigate to Test Scenario.
  2. Click 'Create' and enter the Scenario name 'Open Health Insurance Cost Calculator (HICC) Web App'.
  3. Find the 1st Test Script 'Launch Health Insurance Cost Calculator AUT' and click the + button to pick Test Script
  4. Scroll down to the Selected Test Scripts section and double-check if the correct Test Script is added
  5. Scroll to the top and click 'Save as WIP and Exit'.

Create the second Scenario:

       6. Click 'Create' and enter Scenario name 'Perform data inputs and Verify results for 'HICC - State = NJ Zip = 08817 Age = 45 Income = $20000'
       7. Find the 2nd Test Script 'Enter & Submit Inputs for HICC - State = NJ Zip = 08817 Age = 45 Income = $20000' and click the + button to pick this Test Script
       8. Find the 3rd Test Script 'Verify Results of the HICC - State = NJ Zip = 08817 Age = 45 Income = $20000'' and click the + button to pick this Test Script
       9. Scroll down to the Selected Test Scripts section and double-check if both the Test Scripts are added in the correct sequence. If not, drag and drop to arrange them.
      10. Now, Click Predecessor  and add Test Scenario Open Health Insurance Cost Calculator (HICC) Web App.
      11.  Verify if both the Scenarios are created successfully.
      12. Scroll to the top and click 'Save as WIP and Exit'.

Please Note:
  • The Scenario Names suggested are only for the purpose of this Training. As a best practice, we do not recommend lengthy names, adding sequence numbers or test data in the name.
  • Once the Scenarios are created, there are many action buttons available to be used for various purposes, we will discuss the importance of each action in the later part of the course.
  • We will not be creating a Successor Scenario in this course, as we do not have the need to use it. However, the process of creating a Successor Scenario is the same as the Predecessor Scenario.
         

Feedback and Knowledge Base