Skip to content

Assigning & Changing the 'Product' that a Test Script belongs to

Quick Links:

Click on the links below to jump to the relevant section of interest to you:

Significance of the 'Product' that a test script belongs to:

A 'product' in Worksoft SaaS represents an "application" for which you want to develop and execute automated tests.

A project within your Worksoft SaaS account may have one or more products each of which represents a single application or a component thereof or a combination thereof. Worksoft SaaS is flexible from that perspective. A project provides the shell within which the test automation is created, maintained and executed in the context of more than one application. 

In Worksoft SaaS, the automated test scripts are at the product level whereas the 'test scenarios', 'run definitions' can span test scripts across products. Other automation entities like 'data definitions', 'data files', 'user-defined variables', 'files', 'test cycles' also are at the project level.

A project must have at least one product.There is no limit on maximum number of products a project can have. 

When you create a new project within your Worksoft SaaS account, a product is created for your within that project with the same as the project. If you have more than one product in your project, you should rename the product and add additional ones. To learn more on creating and managing products within a project, click here.

Significance of the 'Product Type' that a product belongs to:    

Each product in Worksoft SaaS belongs to one of the following 'product types' based on its purpose:

  • Web App for Desktop & Mobile Browsers
  • Native & Hybrid Mobile Apps
There are distinct differences between how test scripts are created and maintained based on the 'product type' of the product they belong to. 

  1. The first major difference worth noting is that most of the commands that are supported in Worksoft SaaS can be used to build test scripts that test web apps for desktop and mobile browsers as well the native/hybrid apps. But there are some that only work for either of the product types but not both.The 'Command Reference' on the Worksoft SaaS Knowledge Base follows a visual notation for each command that clearly indicates if a command is only supported for one of the product types or both.
  2. The second major difference exists in how the test scripts are authored (created) for each of the product types.  
  3. The third important point to remember is that you cannot move a test script that belongs to a product of one type to a product that belongs to another type. 

Test Scripts that test products of type 'Web Apps for Desktop & Mobile Browsers'   

The test scripts for testing of web apps for desktop and mobile browsers can be created using QaSCRIBE, Worksoft SaaS's script authoring tool.

Test Scripts that test products of type 'Native & Hybrid Mobile Apps'


The test scripts for testing of native & hybrid apps can be created using a spreadsheet following a process outlined here.

Viewing the 'product' of a test script on the edit/view test script screen   

To view the product that a test script belongs to, just mouse over on the computer monitor icon that appears within the top right hand side controls above the test script name.

  
The tooltip on mouse over provides you visibility into the name of the product as well the product type that product belongs to.

Editing the 'product' of a test script on the edit test script screen:  

To change the product you have to have the test script in 'edit' mode. To change the product of the test script, just click on the computer monitor icon that appears within the top right hand side controls above the test script name, and a drop-down of products shows up. Choose the right product and once done 'save' your changes on the main screen. 

                                                             


There are some straight-forward rules that apply when you try to move a test script from one product to another within a project.
  • You cannot move a test script that belongs to a product of one type to a product that belongs to another type. 
  • You can move a test script that belongs to product one on type to another product of the same type.            

Viewing the 'product' of a test script on the test scripts' home screen:  

You can view the product' that a test script belongs to on the test scripts' home screen, within the 'My Favorites' view and the 'Script Library' view.

Just click on the blue triangle on the top right-hand side within the cells of the 'Test Script' column, and the tooltip shows you the name of the product as well as the type of that product.


Searching for (finding) a test scripts that belong to 'product':


The Test Scripts home screen allows you to search for or filter the test scripts listed within the 'My Favorites' view or the 'Script Library' view based on the 'product' of the test script. To learn more, click here


Feedback and Knowledge Base