| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How many tables r created during the recording in QTP? | | 1 |
| how to retrieve data from the data table (from a particular
cell)
| | 4 |
| Hi Everybody,
Can anybody please tell me the how to display the result of
the QTP in the notepad text file rather than in the QTP
result window.
Suppose this is my simple script:WHich will open the
notepad file and enter some text and then will change the
font then will calculate how much time has been taken.Now,
in this script i want to display the result in notepad file.
Dim s
Dim starttimer,endtimer,timeit
s="uyetuywqtywqte"
SystemUtil.Run "notepad","","Y:\",""
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" +
micCtrlUp
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Set "test1"
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Type micReturn
Window("Notepad_3").Type s
Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s"
+ micCtrlUp
starttimer=timer
Window("Notepad_3").WinMenu("Menu").Select "Format;Font..."
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Type "cou" + micDwn
Window("Notepad_3").Dialog("Font").WinComboBox
("Font:").Select "Courier"
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Set "Courier"
Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type
micReturn
endtimer=timer
timeit=endtimer-starttimer
print(timeit)
Please also tell me where the function for the text file
result will be declared and where it should be called.
Thanks,
Gaytri
| | 2 |
| Consider a scenario where there are two action sheets say
action 1 and action 2. Can Action 1 take values from action
2 data sheet or vice versa. If so, how? | Oracle | 6 |
| from what stage you will start automation in your project | TCS | 4 |
| HOW do we find a datasheet when there are 4 datasheets in
data table.this question was asked by covansys interview. | CTS | 4 |
| Q- what is the advantage of merging tool in QTP 9.2?
| TCS | 1 |
| Please explain about unicode compatibility in QTP. how we
can able to use it. Please help me | | 1 |
| Suppose if a functionalityis not mensioned in requirement
document and but its present in application. will it be
consider as a bug and viceversa? | | 2 |
| What is Virtual Object? Plz Explain me with an example? | Ordain-Solutions | 2 |
| how to get column count in datatable | | 2 |
| Tell me the situations where we will use Data Driven? | Ordain-Solutions | 3 |
| 1) What is the diff Between GetRoproprty and Gettoproperty?
2)What is Redim? | STC | 1 |
| take one exmple and write on that discriptive programe in
qtp? | | 1 |
| When to Insert transactions in QTP? | Siemens | 2 |
| Object recognition in QTP is based on which model ?
a) COM
b) DCOM
c) DOM
d) None of the above | Ordain-Solutions | 1 |
| What is the difference between Call to Action and Copy
Action? | Satyam | 1 |
| what happen in object repository(shared)if we call an
existing action from an external action ? and what happen
in object repository(peraction)if we call an existing
action from an external action ? | | 1 |
| How we can add actions in the test using QTP? | | 2 |
| how we will use output values in qtp? is there any
possibulity by descriptive programming? | | 2 |
| |
| For more QTP Interview Questions Click Here |