
Loading ...
Many QTP user confuse between Test and Action Parameters. This article will explains both the concepts in details and eliminate any confusion. QTP Help does not describe the method of using Test Parameters
Test Parameters
Test Parameters can be used to pass values to the test and retrieve values when the test completes. They are global parameters [...]
Register or Login to read the full article...
Tags used -
Action, Action parameters, AOM, global parameters, Input, output, output parameters, parameter, RunAction, Test, test parameters, TestArgs

Loading ...
Strings are widely used in VBScript to pass information. This information might contain static and/or dynamic data.
Ex - a data base connection string “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Data.xls;Extended Properties=””Excel 8.0;HDR=Yes;IMEX=1″”;”
In the above string dynamic data is the excel file name “C:\Data.xls”. This article will show various ways to do the parameterization of this value.
The wrong way to do [...]
Register or Login to read the full article...
Tags used -
Data, Dictionary, Dynamic, Param, parameter, parameterization, Params, Replace, String, Value

Loading ...
Sometimes QTP throws a “The parameter is incorrect” error when setting a text in a WebEdit
Below is a test textbox to reproduce the issue
WebEdit with Max Length 4:
The error can be reproduced using below code
‘Will work fine
Browser("KnowledgeInbox").Page("KnowledgeInbox").WebEdit("txtMaxTest").Set "1234"
‘Will throw a parameter is incorrect error
Browser("KnowledgeInbox").Page("KnowledgeInbox").WebEdit("txtMaxTest").Set "12345"
There are two root causes of this issue
Root Cause #1
Trying [...]
Register or Login to read the full article...
Tags used -
Edit, Error, FF, Firefox, incorrect, Max Length, MaxLength, parameter, ReplayType, The parameter is incorrect, WebEdit