QuickTest Pro Tips & Tricks: This article compliments the post “QTP Performance Testing for a Single User” found on my website. During the process of logging how long a process takes, you may know that you have some processing time that you do not want to take into account. You may have some “wait” statements [...]
QTP “AddWastedTime” function
VBScript InputBox function
QuickTest Pro Tips & Tricks: You can spawn an Edit Box from within your QuickTest Pro test script using the “InputBox” VBScript function. This function will open up an Edit box where you can type in a value. The help syntax is as follows:
QTP Performance Testing for a Single User
Performance testing can be done with QTP, but in a limited scope – only from a single user standpoint, for functional testing. Years ago when the “QTP VUser” for LoadRunner was introduced they incorporated the “start_transaction” & “end_transaction” functions. These are used by LoadRunner for tracking performance timings for load testing, but you can also [...]
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
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 [...]
VBScript: Overflow error using CInt function
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 [...]
VBScript Date Formats
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
Redim a multi-dimensional array
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 [...]
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 [...]
Category:
