| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How will you load few objects in Active Screen? | | 1 |
| for example one window is there, the window contains how
many edit box's i want script? i know the script but that is
not exact answer....
The script is like this ..........
set a=description.creation()
a("Native class")="WinEdit"
b=window("Flight Reservation").childobject(a).count
msgbox b
if u found exact answer please getback to me?
raju.ippali@gmail.com
9823257761
| | 1 |
| How to retrieve value (data) from notepad using QTP ? | | 3 |
| in process of project exaplnation the defects are says
frequently r not? | | 1 |
| How can we QTP Scripts in xml format? is there any way to
do so? | Apex | 2 |
| How should i find out whether the cursor is moving
horizantally. when tabbing continuously | Livetek | 2 |
| how can we retrieve ten rows from the data table using loop
concept? | | 3 |
| 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 |
| Can u call winRunner scripts from QTP? | | 4 |
| What is Virtual object wizard in QTP? | | 3 |
| How do u write regular expression for a window name which
is changing for each build ? i.e. in first build the window
name is : "computer graphics are very ...." . in second
build the window name is : "computer graphics can be
created" . - Appreciate proper replies | Semantic-Space | 3 |
| How to capture a window in qtp or how to take snapshot of
any window while writing script in qtp | | 2 |
| I am just a beginner in QTP. Could any one explain me in
detail how to automate adding two numbers and getting the
result in QTP. Also I would like to parameterize the
inputs. I have tried but getting an error like 'Can't use
sub.....'(can't recollect the exact error) | | 1 |
| Hi, actually I completed Btech(CS). But i Will go to admin
(Facility) interview. So, If Interviewer asking like " Why
You choose this field". What we say? pLZ PLZ PLZ PLZ
>............................................Send me..... | | 2 |
| Please explain me i am using QTP 9.5 ,i am creating re
usable scripts,i have to pass data from one local sheet to
another local sheet.for example i am creating emploee
information, (data is in action 2 local sheet),In this data
table emplyeee number will get,i have to pass employee
number to another reusable script search data (action2
local data sheet) | | 2 |
| Suppose there are 10 browsers opened on desktop. I want to
close all browsers except one browser in QTP. Can any one
give the code for this?
| IBM | 3 |
| Plze let me know how you can validate in the QTP that
printed documents is correctly printed or not ie how we can
do the validation that all the records or text are printed
successfully in the printed document as per the application
format requuired. | MBT | 4 |
| How can we export test results to an excel sheet in QTP???
Can any one provide sample coding for this????? | TCS | 3 |
| Can anyone explain about Keyword driven framework in detail
and how to use it in case of any project | | 4 |
| How do you data drive an external spreadsheet? | | 1 |
| |
| For more QTP Interview Questions Click Here |