In the previous article, we had seen how QTP identifies a test folder and distinguishes it from a normal folder. On the same lines, we would see how QTP identifies a test results folder. We will use QTP’s Test Result Deletion tool to illustrate this concept. QTP checks for the presence of 3 different files/sub-folders

You would have probably used the Test Batch Runner tool to batch run your test scripts (If you are not aware of it, Test Batch Runner is a tool provided by QTP to run multiple tests in succession). In the Test Batch Runner tool, you need to click on the Add icon and then

In this fifth installment of QTP VBScript Tutorial series, we would cover the various looping statements that are available in VBScript. Looping statements allow you to repeatedly execute a set of statements multiple times. The number of times the code is executed depends upon many factors such as some loops are executed until a condition

Usually, the test cases you work on wouldn’t have a straight linear flow. You would normally come across many conditions in your test case flow and based on the results of these conditions you would be required to perform different actions. In VBScript this can be achieved using the following 2 conditional statements –

Before starting with the code intensive topics (such as working with conditional statements & loop constructs in VBScript) as part of the QTP Tutorials series, it would be a good idea to first touch upon the most basic stuff in VBScript, which is ‘Writing and executing your first program in VBScript’. This is important because

In the previous article of this series we covered QTP VBScript basics and the VBScript variables. In this article, we’ll see the different types of operators in VBScript that you would be using frequently while working with QTP scripts. Operators in VBScript can be divided into four different types.