site
stats

Author Archives: Anish Pillai

About Anish Pillai

Find more about Anish Pillai on Google+

This article covers the basics of Descriptive Programming in QTP with the main aim to help you get familiarized with its basic syntax. The article uses an illustrative approach to help you understand the difference between Object Repository and Descriptive Programming code.

Consider this scenario. You open the Home page of the web application that you are testing. In your Home page, you’ll have many links pointing to various sections of the website. Your task is to check that there should be no broken links (or dead links) in the Home page. i.e. All the links

Many a times when you are writing your test scripts, you might encounter some lines of code that need to be executed multiple times during the course of the script. Rather than repeating the same code in your script multiple number of times, the common practice is to create a function for it and call

In the previous article on using loops in QTP, we saw the basics of different types of loops that you can use in QTP. However in many cases you might have to use nested loops. Also, there are lot of scenarios that require use of loops with arrays and conditional statements. Let’s see how this

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 –