GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 416 of 691    Print  
How can we use debug viewer in QTP.What is the use of that?

  
Total Answers and Comments: 4 Last Update: January 22, 2007     Asked by: LAKSHMINARAYANA 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 10, 2006 04:53:43   
Rawat        

RE: How can we use debug viewer in QTP.What is the use...
Yes we can use debuger view in QTP.
 
Is this answer useful? Yes | No
November 13, 2006 06:01:12   
smartmanoj        

RE: How can we use debug viewer in QTP.What is the use...

Hi lakshminarayana

u can use debug viewer in the following way. First enable the option Debug viewer in the view menu. The debug view consists of three tabs Watch expressions variables commands. consider the following code snippet.

Dim A(5)

A(0) 5

A(1) 10

A(2) 15

A(3) 20

A(4) 25

In the watch expression tab add the expression A(2) which enables u to trace the value of an array element A(2) alone. But the variables tab will show the values of all variables in the code when it is run in debugging mode.

catch me at 9884746410 or mail me at manojpsg04@yahoo.co.in for further queries.


 
Is this answer useful? Yes | No
December 29, 2006 04:57:11   
anjalireddy        

RE: How can we use debug viewer in QTP.What is the use...
While debugging your script using command tab you can execute a line of script to change or set the current value of a variable or object.Further execution of your test will use the changed value
 
Is this answer useful? Yes | No
January 22, 2007 04:43:14   
tarunpandey4 Member Since: January 2007   Contribution: 4    

RE: How can we use debug viewer in QTP.What is the use...

Go to View option click on Debug viewer. This will activate ur debug viewer.

Use F11 to debug ur code.

Thanks

Tarun Pandey


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape