06
Nov 11

Changing Test Settings During Test Execution

Category: ASI General, Programming, QuickTest Pro, Sample Code, Tools | Comments Off

QTP Coding Tip: There are a variety of test setting in QuickTest Pro, and you can change the Test Settings in QuickTest Pro from within your test script during test execution if you have a need to.  Some examples are as follows. Changing Object Synchronization Timeout from within a QTP script:

29
Sep 11

VBScript Procedures in QTP

Tips & Tricks Series – VBScript Procedures Overview If you are using QuickTest Pro, then QTP uses VBScript as the programming language and there are basically two types of procedures in VBScript - Functions and Subroutines.  The main difference between them is

31
Aug 11

Learn QuickTest Pro v10 Online

QuickTest Pro version 10 Online Training - On Sale for $50!  Includes 12 lessons consisting of 179 online pages of training material!  Begin your learning experience online now; work at your own pace, at home, on the road or where it is convenient for you, and on your own time schedule.  The QuickTest Pro v10 Basics course [...]

25
Aug 11

VBScript: Overflow error using CInt function

Category: Programming, QuickTest Pro, Sample Code | Comments Off

Tips & Tricks Series – Overflow error Ever get an “Overflow error” when using the CInt function?  You might encounter this error when you are doing some programming in your test script and doing some data manipulations or calculations.  Let’s review an example of a situation that could cause this to happen – a classic [...]

15
Aug 11

VBScript Date Formats

Category: Programming, QuickTest Pro, Sample Code | Comments Off

Using a built-in VBScript Date function, you can easily get the current date (or another date using a formula) in a variety of common formats without having to worry about trying to write your own function to format the date into a specific layout.  This can save you a ton of time.  The function is

25
Jul 11

Redim a multi-dimensional array

Category: ASI General, Programming, QuickTest Pro, Sample Code | Comments Off

Did you know that when it comes to redimensionalizing a multi-dimensional array in VBScript, you can only redimensionalize the last element (which is the columns) not the first element (which is the rows)?  This is true and can be rather annoying and limiting in scope.  Unfortunately you are stuck dealing with it so what this [...]

05
Apr 11

QTP v11 Help Documents

Category: QuickTest Pro | Comments Off

QuickTest Professional (QTP) is a great test automation tool used for functional testing.  It is the “cadillac” of the testing tools with tons of features and interfaces.  It’s strength can also be its weakness; it is very robust with numerous capabilities however this can also be very overwhelming and confusing to people new to the tool and test [...]

10
Mar 11

QuickTest Pro Data Table Limitations

This article is written based on QuickTest Professional version 10, however it applies to most of the past versions. What is the Maximum Rows and Columns in QuickTest Pro? The data table built into QuickTest Professional is actually a 3rd party product that was integrated into the product back when Mercury Interactive first created AstraQuickTest.  [...]

17
Feb 11

QTP – Web Recording Issue

Category: QuickTest Pro, Software Testing | Comments Off

Software versions: QTP v11, IE8, Windows7 Issue: All of a sudden QuickTest Pro stopped recognizing the web browser and saw it only as a winobject (like a regular GUI window).  So none of my actions on the web page would get recorded, and my test script would be empty.  Obviously this is a major problem. [...]

03
Nov 10

Insert Checkpoint Tip

Category: QuickTest Pro, Software Testing | Comments Off

The other day someone said “I can’t insert a standard checkpoint after I created my script; on the menu the choices are disabled”.  Actually you can insert certain checkpoints after recording once you have a script created with objects in it.  Here are some choices:

« go backkeep looking »