When to change QTP Web ReplayType Setting?

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes
Loading ... 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...

The parameter is incorrect error when typing into a WebEdit

1 Star2 Stars3 Stars4 Stars5 Stars (24 votes
Loading ... 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...

WebFile incosistent errors

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes
Loading ... 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...


    Support KnowledgeInbox (Why donate?)




    Your Email Address:



  1. Most Viewed


  2. Sitemap

    open all | close all
  3. Most Downloaded

    • Screen Capture and Comparion API - Version 1.1.1 (425.5 KiB, 5,581 hits)
      You need to be a registered user to download this file.
    • QTP Clean uninstaller (26.4 KiB, 5,003 hits)
      You need to be a registered user to download this file.
    • VB to QTP API Converter (37.2 KiB, 4,389 hits)
      You need to be a registered user to download this file.
    • IE Helper setup (3.5 MiB, 4,131 hits)
      You need to be a registered user to download this file.
    • Dynamic Action Call Demo - Part 1 (40 KiB, 3,639 hits)
      You need to be a registered user to download this file.
  4. Most Rated

  5. Translator

    English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
    Croat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flag
    Slovak flagSlovenian flagUkrainian flagVietnamese flag           
    By N2H
  6. Last searched terms

    Visitors Online



Your Ad Here