How to check the value for variables during run time.
Pls anybody can give the answer.. Thanks in advance...
Answers were Sorted based on User's Feedback
Answer / chakrapani
Put a Break point then
do F11 step .
when u comes to variable,select that variable
and do Watch(ctrl+T).In this way during run time
u can chck value of variable.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nandankumar
if we want to check the return value of particular variable
during run time we can use "msgbox" correct.
ex :
Var = datatable("column name",1)
msgbox var
(it displays only one by one return values)
or
print var
(it displays whole return values at a time)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / uday kumar_anem
You can achieve this only when you debug the scripts.
Put some break points in your script.
By default the runtime evaluates the variable values upto
that breakpoint, and from there on to know var. values use
step in, step out short cut keys.
| Is This Answer Correct ? | 0 Yes | 1 No |
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
vb script for calling one function to the another function
after click on compose mail how can we attached a file in qtp with vbscript code
what are the drawbacks for record and payback in qtp
How can get count of list box?
How can we call Winrunner functions from QTP?
What are the features of quick test pro(qtp)?
Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it
what is TOM in qtp?
What are accessibility check point and xml check point?
Is it possible to switch between recording modes during a test creation?
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.