Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

what is the smart identification techniqu?what r the different mechanisums used in it?

2 Answers   Accenture,


Which property will you use to check the object state? (Exist)

2 Answers   Symphony,


While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next

1 Answers  


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

0 Answers  


With out using the task manager,how to close the application using vbscript and what is the statement?

1 Answers  


What are the abbreviations for tsr and mtr?

17 Answers   Ordain Solutions, TSR,


What is the limitation to XML Checkpoints?

1 Answers  


How u will open the build automatically in QTP except using Systemutil.run command

6 Answers  


What is BPT?

2 Answers   Allied Group,


In qtp, how you can remove the spaces from string?

0 Answers  


What are the details steps to connect a remote mysql database in QTP

1 Answers   Verizon,


Explain different type of event trigger option.

0 Answers  


Categories