Exporting data table every N iterations

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

It is recommended to export the results of a test with huge iterations periodically. This minimizes the loss of results in case QTP or the system crashes. In this article we will look at a method which will export the data table after specified no. of iterations.
 
‘Global counter for iterations
Dim iAfterIterations
iAfterIterations = 0
 
‘Author: Tarun Lalwani
‘Website: [...]

Register or Login to read the full article...

Preserving format of values in DataTable

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

DataTable are excel based files which can be used to store information required during the test. Any value entered into the data table cells, excel/datatable will automatically try to change the format to appropriate one.
When we enter “1234567890123″ in the data table, it will automatically format it to “1.23456789E+012″. To preserve the format we need [...]

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,390 hits)
      You need to be a registered user to download this file.
    • IE Helper setup (3.5 MiB, 4,132 hits)
      You need to be a registered user to download this file.
    • Dynamic Action Call Demo - Part 1 (40 KiB, 3,640 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 referers

    Visitors Online


  7. Earn $$ with WidgetBucks!

Your Ad Here