Working of Step In, Step Out, Step Over in QTP.

How to use step in, step out & step over in QTP. what's the difference between these three functions ?

Questions by Elango_be   answers by Elango_be

Showing Answers 1 - 6 of 6 Answers

chandusep

  • Feb 21st, 2008
 

There are 3 types of Step Command.
1) Step In: It is used for executing a single statement if that statement is a function call or action  call then it will step into that function or action

2) Step Out : It is used for executing  all the remaining statement in that in that  function call or action from the position of pointer

3) Step Over :It is used for executing a single statement if that statement is a function call or action  call then it will execute the complete block of statements once present in the function/action 

  Was this answer useful?  Yes

samisalona

  • Apr 19th, 2008
 

Step Into
Choose Debug > Step Into, click the Step Into button, or press F11 to run only the current line of the active test or function library. If the current line of the active test or function library calls another action or a function, the called action/function is displayed in the QuickTest window, and the test or function library pauses at the first line of the called action/function.

Step Out
Choose Debug > Step Out, click the Step Out button, or press SHIFT+F11 only after using Step Into to enter an action or a user-defined function. Step Out runs to the end of the called action or user-defined function, then returns to the calling test or function library and pauses the run session.

Step Over
Choose Debug > Step Over, click the Step Over button, or press F10 to run only the current step in the active test or function library. When the current step calls another action or a user-defined function, the called action or function is executed in its entirety, but the called action or function script is not displayed in the QuickTest window.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions