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]
statements
Next
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
Next
Output will be 1,2,3,4,5
For i=1 to 5 step 2
msgbox i
Next
Output will be 1,3,5
here 2 is incremented every time.
Data Driven Testing
SQL Queries Collection
Showing posts with label loops program. Show all posts
Showing posts with label loops program. Show all posts
using for loop in qtp
Subscribe to:
Posts (Atom)