
Loading ...
What is ReplayType?
ReplayType is QTP Web Add-in setting. It can be used to change how the events are replayed on the browser. There are two modes of ReplayType
Events (1) - Replay of events using the Browser methods (something similar to DOM).
Mouse (2) - Replay of events using the mouse and keyboard simulation.
When to change ReplayType?
Use [...]
Register or Login to read the full article...
Tags used -
Blocker, disabled, enable, Enabled, Events, IE, Internet Explorer, Mouse, Object is disabled, Popup, Replay, replaying, ReplayType, Setting

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

Loading ...
This issue is one of the very strange one that happens sometimes and works sometimes. So you have a line of code setting the file path in a WebFile element
Browser("B").Page("P").WebFile("F").Set "C:\Test.txt"
Browser("B").Page("P").WebButton("Upload").Click
Above code might work fine sometimes, but few times you might find your web application throwing an error ex - “File not found”. I am [...]
Register or Login to read the full article...
Tags used -
Error, file, Found, Not, ReplayType, WebFile