using for loop in qtp

In computer science a for loop is a programming language statement which allows code to be repeatedly executed.

Syntax is:

For a = b to c [step d]

where step d is optional.value of d is 1 by default.1 is incremented everytime in loop.

for example:

for i=1 to 5
msgbox i

Output will be 1,2,3,4,5

For i=1 to 5 step 2
msgbox i

Output will be 1,3,5

here 2 is incremented every time.

Data Driven Testing

SQL Queries Collection

No comments:

Related Posts Plugin for WordPress, Blogger...