Skip to content

Mobile App Testing Course :: Module 1 :: Lesson 3 :: Creating Run Definition and Assembling Scenarios

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 4


1. Creating Run Definitions, assembling Scenarios and also Creating Testing Context, updating the Execution log Settings
Similar to creating Scenarios and assembling Test Scripts, we will create Run Definition and assemble Scenarios. A new step here is that we will also create a Testing Context at the Run Definition level and update the Execution log Settings so that we can perform a Test execution on the Run Definition.

     

We will create a Run Definition where the Scenario will be assembled. 

There are 2 ways of creating Testing Context which is, manually and using Testing Platform Groups. In this module, we will learn the basics of creating the Testing Context manually.

Also in this module, all tests are executed in the Production Environment of the HICC. Hence, in the Testing Context, we will choose between combinations of Device/OS and Browser only. 
For the purpose of the training, we will execute the tests on the most commonly used Device/OS and Browser combinations, which are, Iphone Safari and Android Chrome Browsers

In the Execution Log Settings, we will enable Screen capture 'All Instructions' to be generated Post Run and enable Video for learning purposes.

We will not be using the other features like Selenium Web driver log capture, Network log capture & Console Log capture, as of now, as our goal is to cover only the fundamentals and hence only relevant options will be discussed.

You may explore these additional details in the 'Explore more' section of this Lesson.

       
2. Practice:
Create Run Definition: 
  1. Click Menu and Click Run definition.  
  2. Click 'Create' and enter the Run Definition name 'Verify HICC calculations - State = NJ Zip = 08817 Age = 45 Income = $20000'
  3. Assemble the Scenario 'Perform data inputs and Verify results for 'HICC - State = NJ Zip = 08817 Age = 45 Income = $20000' with Predecessor and Successor.
  4. In the 'Selected Scenario', verify if your selection was correct and click 'Continue'
  5. On the Data Binding Screen, click Proceed to Testing Context.
  6. Click "Create Manually" to create Testing Context.
  7. Select Environment as Production IOS
  8. Cloud Platform as 'Mobile App Cloud'
  9. Select Device Type as Mobile Phone and Device Apple-Iphone-14.
  10. Device Orientation PORTRAIT
  11. Operating System as IOS 16.0
  12. Select Browser Mobile Safari
  13. Screen Resolution as Default
  14. Automation Driver as Default
  15. In the Execution Logs Settings, select Screen Capture as All Instruction Real Time and turn Video capture: On
  16. Click 'Save' to create Testing Context
  17. Create another Testing context using the 'Clone' icon in the quick action bar.
  18. Select Environment as Production IOS
  19. Select Device Google-Pixel-7
  20. Select Operating System as Android 13.  
  21. Select Browser as Android Chrome
  22. Change the browser in the Testing Context from Chrome to the 'Firefox version' (latest) and Click Save.
  23. This will create 2 testing contexts.
  24. Do not click the execute button yet.
Please Note:
  • The Run Definition 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.
  • During this process, we will also come across the Data Binding screen, which is primarily used for 'Data-driven Testing' and will be discussed in detail in the later modules. In this module, no steps are required to be performed in the Data Binding screen, hence we will skip through them.

     

Feedback and Knowledge Base