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 |
What are test settings and global settings?
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that
How to find if given number is prime or not
How to add a runtime parameter to a datasheet?
What are the features of quick test pro(qtp)?
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
How to test login page by using QTP
How Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
what is difference between analog and low level recording
what is the syntax for regular expression in QTP? how to create user defined functions in QTP?