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 |
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
Hi All, I need Code For how to export Pass\Fail status to excell sheet without using QC. Thanks Balaji
how to test background color and dynamic images during runtime
how can we know the program is testing by multiple test data in data driven frame work?
hi, In A Table there are some columns and dynamic rows and in each row in first column there is a link with name. upon clicking on that link it will show some details. write the vbscript to check that link without descriptive programming?
7. Given scenario is like this: One Web table is there and you have to search and retrieve a cell data which is equal to the given number say:123. Assume you have given with the column name/id of the table where the number may exist. So now you have to go to the given column and search for the number 123 and retrieve it along with the row number of it.
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically
what is TOM in qtp?
What are table and db checkpoints?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
Tell me about qtp?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.