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 |
Which functionalities of QTP used in banking project? pls any say answer?
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
How we can add actions in the test using QTP?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
How to supress warnings from the "Test results page"?
How to Parameterize Object repository in QTP?
How do you connect to database ,What is the script to connect DATA BASE?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
how do u handle an object with out name in our application using QTP 9.2?
In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?
With out using the task manager,how to close the application using vbscript and what is the statement?
How do you copy a value from a cell in an msexcel sheet saved on the desktop into QTP's datatable when the co-ordinates of cell are given?