| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi,EXCEL SHEET AND DATA TABLE . BOTH ARE SAME OR NOT? | | 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 |
| what is the difference between an Action and a function in
real time | | 3 |
| This is the script generated by qtp plz can anyone write
the same script using descriptive programming plzzzz guys
do answer.
Browser("orkut - login").Page("orkut - login").WebEdit
("Email").Set "rgovard"
Browser("orkut - login").Page("orkut - login").WebEdit
("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("orkut - login").Page("orkut - login").WebButton
("Sign in").Click
Browser("orkut - login").Page("orkut - home").Link
("Logout").Click
Browser("orkut - login").Page("orkut - login").Sync
Browser("orkut - login").Close
| | 5 |
| You have an application version 1 with 5 combo boxes,
Developers develop version 2. Here they replaced bottom 3
combo boxes with each other. While executing the Test
script for version1 no errors. When we execute the Test
script for version2 that QTP showing the error
message "Object not identified" remember no property
changed in version 2, ordinal identifier also disabled.
Find what properties might change here in this scenario | ADP | 4 |
| What are FAST and NORMAL modes in qtp ? Why r these modes
intended for ? | IBM | 2 |
| what is defination of system testing? | Omax | 1 |
| Can anybody give the script to addsheet, add column,add
values under that column in the rows?? | AZTEC | 5 |
| 3.How to record a word doc using qtp i.e open a word
doc,type something and save the doc can someone send me the
code.
| | 2 |
| Take a situation when you are working with QTP, suddenly
system has crashed.so you again start the system. My
questyion is how can QTP directly opened when the system
desktop appears. | | 2 |
| what is difference between wait and synchronization point.
| Intel | 3 |
| 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 to test background color and dynamic images which are
moving during runtime? | CTS | 6 |
| How can i Save the snapshots in a specified folders
using Scripting in QTP? | | 1 |
| how will u do database testing in qtp?
how will u do the same with descriptive programming? | Ordain-Solutions | 1 |
| what are the drawbacks for record and payback in qtp | | 3 |
| 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 |
| How many types of OBJECTS are there in QTP? | Inter-Globe-Technologies | 2 |
| What is AUT in object reposity in QTP? Why we use it in
Object repository???What is full form??????? | | 2 |
| Wht is Smart Identification Mechanisam in QTP..Actually
when do we this Technology means during Recording or running
....how is technology works. Anybody can expalin
this .....Thanks in advacne | Siemens | 4 |
| |
| For more QTP Interview Questions Click Here |