Is Smart Identification really smart?

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes
Loading ... Loading ...

I have always been against the use of QTP Smart Identification (SI) feature whether it is development time to when the script are actually deployed for live testing. The reason behind this dislike is not personal but something logical. Most people think that Smart identification should be enabled when deploying the test scripts for live [...]

Register or Login to read the full article...

Exist returns False even when the object exist

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Exist method of QTP sometimes returns False even when the object exists. There could be 3 possible reasons in my opinion
Possible cause #1
One reason for this issue could be used of wrong properties to identify the object. Ex - you might be using a html id which has been changed now.
Possible cause #2
There are multiple [...]

Register or Login to read the full article...

Identifying custom windows control

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes
Loading ... Loading ...

QTP identifies windows object using their classes. All default class map to a specified window Test object in QTP. Ex – The “Edit” class maps to WinEdit test object, “Static” class maps to the Static Test object.
Objects inside applications developed using standard windows API can be easily identified and automated through QTP.
But at times applications [...]

Register or Login to read the full article...

DP Part 4 - Common mistakes

1 Star2 Stars3 Stars4 Stars5 Stars (11 votes
Loading ... Loading ...

This article would go over some common mistakes people make while using Descriptive Programming (DP) in QTP.
Using strings with Pattern
Let’s assume we want to click a link “Logout (Tarun)” on my web page. Two possible methods that can be used are
Method 1

Browser("miccclass:=Browser").Page("micclass:=Page").Link("text:=Logout (Tarun)").Click

Method 2

Set oDesc = Description.Create
oDesc("text").Value = "Logout (Tarun)"
Browser("miccclass:=Browser").Page("micclass:=Page").Link(oDesc).Click

Now both the above methods will [...]

Register or Login to read the full article...

DP Part 2 - Converting OR based scripts to DP

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes
Loading ... Loading ...

This article discusses how we can convert an Object repository based script to DP based script. For this we will do a simple recording of entering some text on Google.com search text box and clicking the Google search button
The QTP generated script would look something like below

SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.google.com"
Browser("Browser").Page("Google").WebEdit("q").Set "KnowledgeInbox"
Browser("Browser").Page("Google").WebButton("Google Search").Click

All the names [...]

Register or Login to read the full article...

QTP FAQ, Tips & Tricks

1 Star2 Stars3 Stars4 Stars5 Stars (20 votes
Loading ... Loading ...

The article provides answers to most frequently asked question on Quick test pro 8.2. It also provides some tips and tricks. A must read for people working on QTP.
Data Table
Two Types of data tables

Global data sheet: Accessible to all the actions
Local data sheet: Accessible to the associated action only

Usage:

DataTable("Column Name",dtGlobalSheet) for Global data sheet
 
DataTable("Column Name",dtLocalSheet) [...]

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. Visitors Online



Your Ad Here