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 |
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.
What are the Latest Feature are added In QTP 9.2?
What is the difference between low level recording and virtual object.
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, as i'm not in a possition to afford any 'Fee' to join in any institutions. Hence, if possible, kinldy mail PDF file to my mail-ID: chakri_avala@yahoo.co.in Regards, Chakradhar Yadav.
95 Answers Cap Gemini, Citrix, CTS, IBM, Logistics, QA InfoTech,
How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?
How to find the name of the machine where you are running your automation scripts in qtp?
Flight reservation using input and output parameter script.
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
1)Difference Between Value & RawValue?
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)