30
Jun 12

QTP Advance Online Training

Category: Programming, QuickTest Pro, Sample Code, Software Testing, Tools, Training | Comments Off on QTP Advance Online Training

QuickTest Professional Advance Online Training has just been released!
Learn some neat and useful advance features of QuickTest Professional!  This QuickTest Pro course includes 9 lessons consisting of 80 online training pages of material for only $50.  This training will teach you advance techniques in order to take your test automation to a new level of […]

17
Jun 12

QTP Advance Training – Coming Soon!

Category: QuickTest Pro, Software Testing, Training | Comments Off on QTP Advance Training – Coming Soon!

The “QTP Advance Training Series – Part 1” online training course is almost complete.  To date the following lessons are finished within this course:
Complete
– VBScript for QTP
– Descriptive Programming
– Using FSO with QTP
– XML Checkpoints
– Advance Database Techniques
– Global Dictionary
Keep an eye on this site for the release of this course.  In the meantime checkout […]

26
Mar 12

VBScript UBound for Arrays

Category: Programming, QuickTest Pro, Sample Code | Comments Off on VBScript UBound for Arrays

Tips & Tricks: Most people know and use the handy function “UBound” in their VBScript code to query for the size of an array.  Since arrays can be dynamic and change in size using the ReDim statement, most programmers will use the UBound function to retrieve the current size of the array from within their […]

13
Jan 12

QTP – Saving your test run data

Category: Programming, QuickTest Pro, Sample Code, Software Testing | Comments Off on QTP – Saving your test run data

You can’t actually modify the data permanently in the datatable associated with the test script during a test run but there are two approaches you can take in order to save the data into an external file that you can use later. 

06
Jan 12

QTP “AddWastedTime” function

Category: Programming, QuickTest Pro, Sample Code, Software Testing | Comments Off on QTP “AddWastedTime” function

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

05
Jan 12

VBScript InputBox function

Category: Programming, QuickTest Pro, Sample Code | Comments Off on 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:

24
Dec 11

QTP Performance Testing for a Single User

Category: Programming, QuickTest Pro, Sample Code, Software Testing | Comments Off on 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 […]

06
Nov 11

Changing Test Settings During Test Execution

Category: ASI General, Programming, QuickTest Pro, Sample Code, Tools | Comments Off on Changing Test Settings During Test Execution

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:

25
Aug 11

VBScript: Overflow error using CInt function

Category: Programming, QuickTest Pro, Sample Code | Comments Off on 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 example […]

15
Aug 11

VBScript Date Formats

Category: Programming, QuickTest Pro, Sample Code | Comments Off on 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

keep looking »



X