| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 do find current links in webpage for ex: in
yahoowebsite today mainpage is having 50 links and next day
same page is having 60 links. if i run same programe it
should display total links in webpage ? | CTS | 3 |
| 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 |
| What are the Automation Limitations?? | | 1 |
| suppose by navigation i went from 1st page to 5th page write
a script for coming from any page to the 1st page abd by
executing where the page may be . it will come to 1st page
give the code using gmail. give me mail id so that i can
under this answer with out any doubt | | 1 |
| what is recovery manager and recovey scenerio? | BirlaSoft | 2 |
| HI,
Based On The Information Below Write A Data Driven test
Script
Edit Box 1 Should take Value From Num1 Column
Edit Box 2 Should take Value From Num2 Column
Click On Add Button,
Get The Value Of Exp res Column,
Get Value From Actual Result Edit Box ,
Compare Two Values, Write Pass / Fail Value Into Result
Column
Thanks In Advance... Kavitha
Input.Xls
Num1 Num2 Exp res Act res Result
10 30 40 40 Pass
50 40 90 90.5 -
- - - - -
- - - - -
- - - - -
| UHG | 3 |
| How to Set the Global Sync Timeouts in QTP? | | 1 |
| is it possible to map an image as standard Object or u've
to treat as virtual? how to map an Dynamic image into
standard object? | | 1 |
| where did you automate in your project?(please tell me
example senarios) | | 2 |
| How do you start automating/ writing your QTP scripts ? | Keane-India-Ltd | 3 |
| Hi Friends,I hav Just finished QTP course.Can any body
suggest me which is the best place to go and post
resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r
calls in these cities,the best one? | | 1 |
| What is keyword driven testing..what is the use of this in
Automated testing | IBM | 2 |
| What are the versions of qtp,What are the differences b/n them? | TCS | 1 |
| How to capture screenshots of Exceptions/Errors during run-
time? | Ordain-Solutions | 10 |
| Hi all im having a pop up validation browser which is 20 in
number, i want to close those similar pop browsers one after
the other, is there any specific code for that? i tried by
giving creation time & putting in a loop but it dint work?
valid working answers will be greatly appreciated | McAfee | 2 |
| Hello Everybody,
please tell me how to use accessibility checkpoint and XML
checkpoint by giving any practical example of it.please
provide me the steps to perform that and also pls provide
the code too.
Thanks in advance,
Gaytri | | 1 |
| how many wayes we do the parameterization? | | 1 |
| what to do if application have 3 "ok" button with same
logical name and same properties, how qtp can identify them.
| Intel | 9 |
| I am using descriptive programming for my project.when QTP
deosn't identity or recognize a object by record and
playback method,is it possible to make QTP identify that
object using descriptive programming?
Note: The object doesn't have unique properties and same
properties used in Record and playback are only available,
no extra properties are defined.
| | 1 |
| |
| For more QTP Interview Questions Click Here |