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 [...]

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.  [...]

11
Mar 10

Why Declare a Variable in VBScript?

VBScript is a very flexible scripting language that provides full programming capabilities for various implementations.  VBScript is the programming language used by QuickTest Pro, so when you are in the Expert View doing some advanced programming you will regularly create variables and use them to hold various data values.  All variables in VBScript are of [...]

« go back