In QTP what is the difference between Step-in, Step-out,
Step-over ?
Answers were Sorted based on User's Feedback
Answer / ajreddy
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.
step out:
it can be used to execute the function or method which is
called step into mode
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.
i think u cleared
AJreddy
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / sumi
Step-in:Line by line execution
Step-over:which is used to speed up debugging..we can go
with step-over if we know perticular funtion is bug free
ex:
if script contains a loop means when we use step-over
option the loop wont be executed only the result of the
loop ill be displayed...
step-out:which is similar to step-in
ex:
if script contains a loop means when we use step-out option
the loop will be executed....
Is This Answer Correct ? | 8 Yes | 4 No |
Answer / 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 |
i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?
What is Parameterizing Tests?
how to explain a claims and insurance project?
what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
Why is action split used by qtp?
is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE
write a qtp code to count the number of child objects in login page and highlight it
How to handle Java tree in QTP?
What is your role and responsibilities in QTP with your current organization?