Skip to content

Perform Standalone Execution in QA Environment

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 14:: Topic 1


1. Test Script Maintenance
In this lesson, we will introduce a new AUT environment (QA) for HICC that has additional fields in the inputs screen and learn Script maintenance. We will go through each of the changes to be made to the automation to make it in sync with these AUT changes.


2. Review the QA environment of HICC
New features rolled out on Qa environment: Review the QA environment of HICC. 

It appears that there has been a new release to the QA environment. There are changes to the 'Input' screen. 

Two new fields are introduced: 
  1. 'Number of people on insurance policy' and 
  2. 'Does Employer offer Health Insurance' and the existing field 'Zip code' is modified to allow the user to select their state and choose among the multiple zip codes available in the dropdown.

3. System Defined Variables
In our case, we will add System Defined Variables for Environment - QA as a condition in the Test Script.

Then, we will launch the QA environment at the Run time and execute the same Test Script we have automated using the Production environment.


4. Practice
System Defined Variables: Search the Test Script (Automate - Open Webpage & Enter Inputs for HICC - State = NJ Zip = 08817 Age = 45 Income = $20000' and Calculate) and Click on edit.
  1. Edit the Open instruction, Remove the Link from the target field and add / 
  2. Click on add command below open command.
  3. Add store command in the command field.
  4. Click and expand the target field to see the variable icon
  5. Click on system-defined variable and from the dropdown and expand system defined variable.
  6. Click on the environment and select AUT Environment Name.
  7. Remove the quotes"" and Click on Save
  8. In the value, field add the value as Environment and save the instruction.
  9. Click and expand 'asserttitle' command and edit the target field.
  10. In the target, field remove the text after hyphen and write ${Environment}
Perform Standalone Execution in QA Environment: Execute the Test Script in Qa Environment: 
  1. Click on the execution icon (play icon). Select 'QA' from the dropdown and click on Next.
  2. Select the new tab and click on Next.
  3. Navigate back to the 'Execute & Debug' Tab.
  4. Once the execution is complete, check if any of the instructions has a red icon.

 

Feedback and Knowledge Base