Fundamental Concepts of Test Automation

by seetaram on September 17, 2011

What is Test Automation? Automated Software Testing or Test Automation is the process of automating the manual test cases.  This also involves comparing the run time data with the test data provided, and producing useful Test Results. Test Automation tool – What we can expect? To test a software, a manual testing engineer needs to […]

{ 0 comments }

Dynamic Arrays – VBScript

by seetaram on September 10, 2011

There are two types of arrays: Static arrays Dynamic arrays Static array has to be declared with the number of elements that the array can hold (i.e. arr(5)).  If we don’t know the number of elements to be stored in the array, then the dynamic array can be used. Syntax: Dim arr() ReDim keyword should […]

{ 21 comments }

Arrays – in VBScript

by seetaram on September 10, 2011

An Array is a data structure which can hold multiple variables of the same type.  So far whatever the examples we have seen in the previous posts we have used variables for each value. ans=a*b Here, variable a and the variable b are multiplied and the result is stored back in the variable ans. Let […]

{ 1 comment }

Function Procedure in VBScript

by seetaram on September 9, 2011

Function procedure is a discrete block of code that is written to accomplish a particular task.  The difference between a Sub procedure and Function procedure is that function can return a value.  Syntax: Function {name} (parameters)     – – – – – –     – – – – – –     – – – – […]

{ 0 comments }

Dividing the entire software program into smaller chunks of code where each piece handles a specific task is known as modularization.  Following are some of the benefits: Easy to maintain Reusability Easier to debug More reliable Hence, all programming languages and scripting languages support modularization.  In vbscript modularization can be achieved with two different techniques: […]

{ 0 comments }

This does not have any special features other than what is explained with Do While . . . Loop.  This looping structure also works the same way like Do While . . Loop.  While . . . Wend is an older looping syntax and Do . . Loop is preferred over this.  The drawback of […]

{ 0 comments }

Do . . . Loop in VBScripting

by seetaram on September 5, 2011

This looping statement provides a great way to execute a group of statements until a condition is true.  There might be lot of situations where we can specify a condition but not the iterations (i.e. no minimum and maximum values or array containing elements). In such situations we can go ahead and use this loop. […]

{ 0 comments }

For . . . Each . . Next loop in VBScript

by seetaram on August 28, 2011

There will be some situations where we do not know the number of iterations, but we need to execute a block of code for all the elements in an array (its a data type) or for all the objects.  Here, array and object concepts are new but having look at the following script makes it […]

{ 0 comments }

For Loop in VBScripting

by seetaram on August 28, 2011

In vbscript to execute set of statements FOR LOOP can be utilized.  There are two variants of this are present.  Let us start with the first one. 1. For . . . Next Syntax: For {integer variable}={initial value} to {Max value for the variable} Step {incremental value e.g. –2, 1, 2, etc} . . . […]

{ 0 comments }

Looping Statements in VBScript

by seetaram on August 27, 2011

Let us have a look at the following vbscript: msgbox "Hello world" msgbox "Hello world" msgbox "Hello world" msgbox "Hello world" msgbox "Hello world" msgbox "Hello world" msgbox "Hello world" msgbox "Hello world" This is simply printing one message eight times.  This looks pretty simple!!! But, if we need to repeat 50 of such statements […]

{ 0 comments }

Do you want to get updates on the recent articles written? Please subscribe to RSS feed or Email