| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Which scripting language QTP is using? | | 6 |
| 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 | 2 |
| how to capture (or) checkpoint for chineese or any other
language except english using QTP in a web page. ( my
application have 24 language, how to check those lanugages
using QTP? is it possible). Please let me know
| | 2 |
| how to test background color and dynamic images during
runtime | | 2 |
| How should i get name of the screen?
Ex:There is a "submit" button.If i clicked on the submit
button it opens a screen. I want that screen name.How can i
get that screen name
I dont have any property regarding that screen.
If suppose we cliked on the screen , Then QTP captures the
screen properties
then i can get the screen name by using GETROPROPERTY
But i want the screen name without clicking the screen.
("I am using the "settoproperty" for Second screen by using
fist screen properties")
Please tell me anyone
| Livetek | 2 |
| What is the extension of script and object repositary
files? | | 2 |
| what sort of things what u put in Bug Report ? | | 1 |
| i need the licence key for QTP V9.5 can anyone help me on
getting this? | | 90 |
|
what is the diffrence between script and Language ?
(Chandana) | Wipro | 4 |
| How to Test the mainframe application?(tell me few basic
things) | Covansys | 1 |
| If QTP not recognizing using repository while executing,
how can we go forward | | 3 |
| what is memory leakage?
| ITC-Infotech | 10 |
| does QTP provides any tools for parametrisation? | | 3 |
| How to retrieve the property of an object in QTP? | | 4 |
| Tell me Three major differences between QTP & Winrunner? | | 2 |
| Difference between image checkpoint and bitmap checkpoint | | 2 |
| What are Test case selection criteria for Automation? | | 2 |
| Hi All
Below is my script which i made for lgin into Flight.exe.
SystemUtil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe","","C:\Program
Files\Mercury Interactive\QuickTest
Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set DataTable
("p_Text", dtGlobalSheet)
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure DataTable
("p_Text1", dtGlobalSheet)
Dialog("Login").WinButton("OK").Click
If Dialog("Login").Dialog("Flight Reservations").WinButton
("OK").exist Then
Dialog("Login").Dialog("Flight Reservations").WinButton
("OK").Click
datatable.Value(3)= "Incorrect password. Please
try again"
Dialog("Login").WinButton("CANCEL").Click
elseif Dialog("Login").Dialog("Flight
Reservations").WinButton("OK").exist Then
Dialog("Login").Dialog("Flight
Reservations").WinButton("OK").Click
datatable.Value(3)="Please enter agent
name"
Dialog
("Login").WinButton("CANCEL").Click
elseif Dialog("Login").Dialog("Flight
Reservations").WinButton("OK").exist then
Dialog("Login").Dialog("Flight
Reservations").WinButton("OK").Click
datatable.Value(3)= "Please
enter password"
Dialog("Login").WinButton
("CANCEL").Click
else Window("Flight Reservation").Move 309,146
datatable.ExportSheet "C:\Raj\Result.xls" ,1
Window("Flight
Reservation").Close
End If
I want to capture the Message string from
Dialog("Login").Dialog("Flight Reservations"
Also pls let me know if this is the right way to do the
script for login. Pls provide some script for login
Flight.exe
Thanks in advance
Raj Dhiman
| | 1 |
| Please explain about unicode compatibility in QTP. how we
can able to use it. Please help me | | 1 |
| Can any body tell me how can I choose the share object
repository and per action object repository mode. Please
give me with steps.
| | 3 |
| |
| For more QTP Interview Questions Click Here |