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 |
Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?
How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
How to execute a WinRunner Script in QTP?
How to capture the Check point Value into a variable?
What is an Custom Object in QTP ?
What are the technics follow in writing VB script?
How we will execute(run) the scripts in qtp 8.2?
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?
What is the default object synchronization timeout in qtp?
Synchronozation types in QTP
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check