In QTP what is the difference between Step-in, Step-out,
Step-over ?

Answer Posted / kishore

DEBUGGING MODES

step in :
it can be used to execute the current line of the script. if
the current line is function or method than it call the
function or method but it vl not run the function.If we
want to run the function line by line we can use "step in"
(step out*) else if U want to run the complete function
once can use the "step over".

step out:
it can be used to execute the function or method which is
called step into mode.
note:If the control is at function or method call "step
out" complete function will rune at one .
If the the control is already in function or method "step
out" acts like "step in",that is execution will happen step
by step

step over:
it can be used to execute the current line of the script. if
the current line is function or method than it call the
function or method and execute that function

note: initially in design time step in only enable,
remaining 2 modes r disable. when ever vl select step in
mode than automatically remaining modes r enabled.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where we can use the analog mode and where we can use the low – level mode?

559


What are the types of environment variables in qtp?

539


Why to use descriptive programming?

556


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1316


What is the qtp testing process?

583






Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1365


How to create scenario selector

1467


Explain the concept of object repository and how quicktest professional recognises objects?

548


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1571


could any help me please, how to work on visual foxpro application using UFT

1665


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1491


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1673


How will you test a stapler?

585


How to record application running on the Virtual machine?

632


How to use transactions in qtp?

551