| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Could some one help me the difference between GetTOProperty
and SetTOProperty and when we will use these properties. and
what is meant by SetToProperties.. | Clinical-Soft | 5 |
| 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 |
| What is Expert view? | | 3 |
| If there are 10 notepads opened on desktop. how can we
close a particular 2nd notepad using script | | 2 |
| Cn u please clarify my doubt Where are micTab and micReturn
used.Thanx in Advance | | 1 |
| Explain the concept of object repository & how QTP
recognises objects? | | 1 |
| any challange that faced in your project? (please give me
some examples in your project? | | 1 |
| Can I record on netscape browser does it require any special
settings ? | | 1 |
| Please give me the steps to carry out datadriven in QTP8.2 | | 2 |
| 1. how can you handle exceptions without using recovery
scenario? | TCS | 3 |
| There are 4 webpages in an application, in third page there
is one cancel button i want to click that cancel button
only, how can I click that cancel buttton ? | Wipro | 4 |
| can a Function return more than one value..??? if so please
give me the code for that. | DST-Global-Solutions | 2 |
| In a web site, Protocal has been changed http: to https:
what is your approach? | | 2 |
| Wat is the command used to add an object(properties) to an
object repository? | Virtusa | 2 |
| what is purpose of automation? | | 2 |
| How to call .vbs functions in QTP? plz Explain indetail | Wipro | 3 |
| Where you can store check point results? | | 2 |
| What is an other way of "Wait" statement in QTP
I dont want to use wait("Some number").
Can any one tell this please.......... | AZTEC | 7 |
|
How to parameterize a text field and the same field as
combo field on next page. Means inserting values in Text
field will appear in the combo field. for example country
name, state name. Kindly reply it is urgent !!! | Adobe | 1 |
| which checkpoint we use to validate yahoo login screen
window after login with ur id and password in qtp | Covansys | 8 |
| |
| For more QTP Interview Questions Click Here |