How can we use debug viewer in QTP.What is the use of that?

Showing Answers 1 - 12 of 12 Answers

Rawat

  • Nov 10th, 2006
 

Yes , we can use debuger view in QTP.

  Was this answer useful?  Yes

smartmanoj

  • Nov 13th, 2006
 

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.

  Was this answer useful?  Yes

anjalireddy

  • Dec 29th, 2006
 

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

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions