Print( ):-
                      We can use this QTP function to display output in a printlog window.
                                    Syntax:-           print(“msg”)
                                                            Print(variables”)
                                                            Print(“msg” &variable)
A)    Do-While:-
The execution of a block of code as long as given condition was true, but in “do-while” loop back of code atleast one time when condition was failed.
                        Syntax:-          do
                                                ----------
                                                ----------
                                                Loop while condition
B)    Do-untile loop:-  
To execution of a block of code as long as given condition was false.
                        Syntax:-          do
                                                ----------
                                                ----------
                                                Loop untile condition
                                                ----------
                                                ----------
No comments:
Post a Comment