The parameter is incorrect error when typing into a WebEdit
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 [...]

(24 votes
Tags used -



































