| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How we can add actions in the test using QTP? | | 1 |
| does qtp need record and playback in realtime. plz tell
exactly wat happens | HP | 3 |
| what is difference between wait and synchronization point.
| Intel | 3 |
| What is the function of Filter in QC .
give with a real time example. | TCS | 1 |
| Explain about reusable actions? | IBM | 2 |
| how do u retrieve data from a database ? i.e. i want to
retrieve 2nd record only from a database ? write code for
this. by using ADODB connecton, RSOBJ and using a FOR loop
we can retrieve all the records( ex: if we give query as
select * from emp). but i want only 2nd record. so how to
acheive this. | Accenture | 1 |
| How can we get the result from WindowsXP Command Window?
(e.g. After we input 'ipconfig' in command window, how QTP
get the result?) | | 2 |
| Hi,EXCEL SHEET AND DATA TABLE . BOTH ARE SAME OR NOT? | | 2 |
| .qfl extension for which file? where vl use it | iFlex | 3 |
| what will be the stmt if record any edit box in the Web
application ? | eSymbiosis | 2 |
| I want to open a Notepad window without recording a
test and I do not want to use SystemUtil.Run command as
well How do I do this? | | 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 many wayes we do the parameterization? | | 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 |
| Pls explain me the difference between ........
Description.Create and CreateObject | | 1 |
| When a requirement is given to u to automate , What is ur
basic approach ? | | 3 |
| we have one text box and one list box(list box appear in
same page or another page) what ever the text enter in text
box that must be displyed in list box as first one.
for example if we enter 10 in text box that is the 1st item
in list box . after that we enter 11 then 11 is the 1st item
and 10 is 2nd item. the maximum limit of list box is 10
items. if we enter 11th item the 10th item is deleted and
llth one is add as 1st one and 9th one goes to 10th position
part2:maore than the answer for this question i want the
the reason why testers go for this kind of risk.what is the
use of we testers having these kind of attempts.is that
not the problem with the developer .pls answer .real time
users of tools.in which way these solutions help to test
with r without affecting the developed souce code. | | 2 |
| how to use import and export sheet methods in qtp | | 1 |
| 4. How u will open the build automatically in QTP except
using Systemutil.run command | | 3 |
| How to retrive data from a data table which is in 3rd
row,4th column and place it in main script..like retrive
name,date from data table..write script for this. | Thatavarti-Technologies | 9 |
| |
| For more QTP Interview Questions Click Here |