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 |
In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot
What are the abbreviations for tsr and mtr?
17 Answers Ordain Solutions, TSR,
what is reusable action and how the same can be implemented (process)?
what is the use of automation frame work ??(QTP)
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..
explain virtual object? in detailed? pls any one explain me?
What are the Features & Benefits of Quick Test Pro ?
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
What is a runtime datatable ?
Hi All, What is an XML Checkpoint in QTP? How can i use it while testing a web application? Kindly explain in detail. Thanks in advance
explain keyword driven framework with banking domain?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks