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 have qtp 9.4 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.
In how many ways we can add check points to an application using QTP.
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J
How you automate testscripts one by one or modukewise or all at once
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
how to make connection to a remote mysql database in qtp any one can please provid eme deatail steps.
write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???