Test can be enhanced by parameterizing the values that it uses. A parameter is a variable that is assigned a value from an external data source or generator.
Following values can be parametrized:
Values can be parameterized using:
Following are the parameter types used for parametrization
Following values can be parametrized:
- Checkpoints
- Object properties for a selected step
- Operation arguments defined for a selected step.
- One or more properties of an object stored in the local object repository.
- Test/action parameters
- DataTable parameters
- Environment Variable parameters
- Using Random number parameters
Following are the parameter types used for parametrization
Test/action parameters: Test parameters enable to use values passed from the test. Action parameters enable to pass values from other actions in the test.
Data Table parameters: Enables to create a data-driven test (or action) that runs several times using the data supplied. In each repetition, or iteration, QTP uses a different value from the data table
Environment variable parameters: Enables to use variable values from other sources during the run session. These may be values supplied, or values that QTP generates based on conditions and options
Random number parameters. Enables to insert random numbers as values in the test
No comments:
Post a Comment