How to Use the Input parameters specified under Steeings>Parameters Tab? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: How to Use the Input parameters specified under Steeings>Parameters Tab? (/Thread-How-to-Use-the-Input-parameters-specified-under-Steeings-Parameters-Tab) |
How to Use the Input parameters specified under Steeings>Parameters Tab? - richagoyalk - 05-30-2009 I am trying to use Parameterization using the same concept as that of USer-defined external variables. Howsoever, m not able to succedd. I performed the below steps: 1. Under File>Settings>Parameters Tab>Input Parameters: add a new String type Parameter "param' with the Default value "paramval". I apply these settings and save. 2. Under the Expert View, i typed the following : Code: -msgbox Parameter("param") I encounter a runtime error "Parameter param not found" But in the test results window, the Name and value are correctly displayed. Is there any other way to use the same? RE: How to Use the Input parameters specified under Steeings>Parameters Tab? - stephenlb4u - 06-01-2009 What you declared is Test Parameter, to use a test parameter replace parameter with TestArgs Code: msgbox TestArgs("param") Stephen RE: How to Use the Input parameters specified under Steeings>Parameters Tab? - richagoyalk - 06-02-2009 Thanks Stephen |