UFT Class 26

UFT Class 26 (VBScript Loop Statements Part-2, VBScript Functions Part-1) VBScript Loop Statements Part-2 I) For…Next II) While…Wend III) Do While / Until…Loop a) Using While keyword It repeats a block of statements while condition is True Syntax: 1) Do While Condition Statements ——— ———- Increment/Decrement Loop ——————- Example: OrderNo = 1 Do While OrderNo … Read more

UFT Class 25

UFT Class 25 (VBScript Conditional Statements Part-2, VBScript Loop Statements) Usage of VBScript conditional statements 1) Execute a statement when condition is True/Simple if. 2) Execute a block of statements when condition is True. 3) Execute a block of statements when condition is True, otherwise execute another block of statements 4) Decide among several alternates … Read more