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



How to check the value for variables during run time. Pls anybody can give the answer.. Thanks i..

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

How to check the value for variables during run time. Pls anybody can give the answer.. Thanks i..

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

How to check the value for variables during run time. Pls anybody can give the answer.. Thanks i..

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

How to check the value for variables during run time. Pls anybody can give the answer.. Thanks i..

Answer / chandru

You can check log file for that.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

how will we run batch tests in qtp what is the process to run the multiple test sets?

3 Answers  


How to use descriptive programming?

0 Answers  


Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com

1 Answers   UHG,


how do i know how to use tools

0 Answers  


What is difference between function and procedure?

41 Answers   HCL, IBM, iGate, Infosys, TCS, Veritas, Wipro,






pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


what is actually contain test report? can anybody post the test report

0 Answers   Synechron,


What is your role and responsibilities in QTP with your current organization?

1 Answers   Oracle,


Is it possible to switch between recording modes during a test creation?

0 Answers  


When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table

2 Answers  


what is the script to select 2 or more than 2 options from a listbox.

2 Answers   Polaris,


what is On Error Resume Next ?

1 Answers   Accenture,


Categories