In the previous article, we saw the common string manipulation functions that can be used in QTP. In this article, we will cover the arithmetic or math functions that can be used in QTP. Before we begin with this article, please note that you would not be using arithmetic functions as often
VBScript Arithmetic functions that can be used in QTP
May 10th, 2012 | Posted by in qtp and vbscript tutorials - (0 Comments)Common string manipulation functions that you would be using almost daily in QTP
May 6th, 2012 | Posted by in qtp and vbscript tutorials | QTP Basic Stuff | QTP Tutorials for Beginners - (45 Comments)This article (and few more upcoming articles on VBScript Function Reference) is an extension of the QTP VBScript Tutorial series that we had started sometime back. In this article, you would see some of the important and common VBScript string manipulation functions that you would most likely be using almost daily while working with QTP.
Part 7: QTP and VBScript | Writing Sub Procedures & Functions in QTP
March 3rd, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (33 Comments)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
Part 6: QTP and VBScript | Nested Loops in QTP
March 1st, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (3 Comments)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
Part 5: QTP and VBScript | Looping through Code
February 14th, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (11 Comments)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
Part 4: QTP and VBSCript | Conditional Statements in VBScript
February 12th, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (2 Comments)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 –
Part 3: QTP and VBScript | Writing your first program in VBScript
February 9th, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (5 Comments)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
Part 2: QTP and VBScript | Operators in VBScript
February 2nd, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (3 Comments)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.