| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi Friends, Can any one answer this question?
17) What method is used to retrieve the number of columns
in the query results?
A. Fields.Count
B. Fields.Item(EOF)
C. Fields.Count(BOF)
D. Fields.Count.Value
| | 1 |
| wt is the difference between global and action excel
database in qtp?for example one action is calling another
action the second action is using action excell sheet?if it
is using global sheet what makes the difference? | Datamatics | 1 |
| Hi All,
I am using QTP for one of the Desktop
application which uses Keyboard inputs like 'Tab ,F7 etc'
and also mouse (Click).
After recording when i am running the Script ,it is not
able to recognize the keyboard inputs like F7,Tab and mouse
Click because of which either i have to skip that part or
manually do the inputs.
Please answer how can i make script more flexible so that
it will recognize both keyboard and mouse operations.
| | 3 |
| What do you do if QTP doesn't recognize object ,what action
should be taken | Lehman-Brothers | 9 |
| Hi
I have a doubt in qtp. Can you please clarify my doubt.
If we are importing the data from excel sheet in qtp the
the script is running the number of row times.
I mean if there are 4 rows in excel sheet the script is
running 4 times. cant we avoid this.
suppose i have tis script:
datatable.Import "C:\Documents and Settings\sailaja\My
Documents\login1.xls"
n = datatable.GetRowCount
For i =1 to n
systemutil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
datatable.SetCurrentRow i
Dialog("Login").WinEdit("Agent Name:").Set DataTable
("Username", dtGlobalSheet)
Dialog("Login").WinEdit("Password:").Set DataTable
("Password", dtGlobalSheet)
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").ActiveX
("MaskEdBox").Type "020209"
Window("Flight Reservation").WinComboBox("Fly
From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly
To:").Select "Los Angeles"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights
Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "Sailaja"
Window("Flight Reservation").WinButton("Insert Order").Click
Window("Flight Reservation").WinMenu
("Menu").Select "File;New Order"
window("Flight Reservation").Close
next
I created a excel sheet with 3 rows and 2 columns.
(username and password). The script is running 9 times. I
made the option run one itaration only . eventhough it is
running 9 times .can u plaese clarify my doubt.
Thankyou
Sailaja.
| | 2 |
| How to handle dynamic objects in QTP? | Infosys | 3 |
| Define QTP ? | TCS | 4 |
| 1) after inserting the check point how to change the
expected value that was captured while inserting the check
point | TCS | 2 |
| How to export data present in Datatable to an ".xls" file? | | 1 |
| how to write the descriptive programming in QTP for
loginwindow.without using Step generator,object repository
for referecnes | STC | 3 |
| how do you done Data-driven test using MS-Word Instead of
DataTable | IBM | 3 |
| can anyone please send me qtp framework material please its
urgent | | 1 |
| I want to create Excel object on another machine which is
in network i written the code "Set se=createobject
("Excel.Application","\\ankur")"here \\ankur is the name of
that machine but i m getting the error of permission denied
create object can anybody help me | | 1 |
| pls tell me different type of automation frame works in QTP
and which one need to select in client server application | Syntel | 6 |
| How can the name of a checkpoint be changed in Qtp | Ordain-Solutions | 2 |
| What is the diff between doing parametarisation using Data
Driven wizard or manually. when do we go for manual
para...and when do we use Data driver wizard..can anybody
answer it ..Thanks in advance | Siemens | 5 |
| what is the silent mode in WR? | | 1 |
| Plz explain about Virtual object? What is the situation u r
using , explain with example? | | 1 |
| i have .xls,.txt,.doc files are there (together). i want
find only .xls file among them? how can we write function? | CTS | 2 |
| What is the need and applications of learning VB script for
a automation(QTP) engineer ain Realtime ? | | 1 |
| |
| For more QTP Interview Questions Click Here |