Share this page

# Test Parameters Overview

You can add parameters to your tests. A test parameter is a variable that can be assigned a value outside the test from which it is defined. Using parameters can increase the flexibility of your tests by enabling you to run the same test repeatedly with different data each time.

When working with a manual test, you can add parameters to the design steps from within the test or you can add parameters by calling them from other tests. This is useful if you have common steps you often want to perform as part of other tests. For example, you can create a template test Login_Template that logs a user in when you start the application. You need to call this test at the beginning of each test. In some cases, you will want to log in as a regular user while in others, you will need to log in as the project administrator.

For this purpose, you can create two parameters, `<<<user name>>>` and `<<<password>>>`, and change the values according to the type of test that is calling Login_Template. If the most common login is a regular user, you can set the default values for the parameters to a regular user name and password. For details on calling manual tests, see How to Design Test Steps.

When working with an automated test, you can define parameters for a test script from within the test or you can load parameters from a shared test resource file. For details on using test resources, see How to Use Test Resources.

For task details, see How to Use Test Parameters

https://admhelp.microfocus.com ALM 8942
Tips to improve your search results... ALM Help Center ALM Help Center ALM Help 15.5-15.5.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: