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 |
what are the Common Problems in S/w development process
What does VBS file contain..? what is VBS file.?
How do u fetch data from a database ?
I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE
how to do spell check in QTP? reply please
How many types of recording modes in qtp? Which will be used when?
What is throw object?
Are Shared ORs read-only?
Wt is the difference between Business Component and scripted component?
can we run the scripts of qtp 8.2 in the qtp7.0?
With help of object repository,we can able to write the descriptive program manually?
How will you find the current time of the remote machine using QTP script?