QTP adapted VB script engine for applying programming logic to tests. We can insert VB script conditional statements and loop statements for applying the logic.
In VB script there are 2 types of conditional statements and four types of loop statements available.