| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| User defined function in QTP | Lehman-Brothers | 2 |
| How can the name of a checkpoint be changed in Qtp | Ordain-Solutions | 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 |
| I have a Webtable object in my shared object repository, say
WT1, which has different index value in 2 different
versions, one version having WT1's index value as 1 and
other version having WT1's index value as 2. how could i use
same test script to identify the WT1 object having different
index values. | | 4 |
| what the diffference between test data and test cases
what is meant by object hierarchy in qtp | Virtusa | 4 |
| what's the difference in between function and sub and give
some code as well | Patni | 1 |
| How to use custom checkpoints in QuickTest Professional? | TCS | 1 |
| what is difference normal,analog,low level recording in
qtp? what is lowlevel recording? | | 2 |
| What r the features of QTP9.2,other than QTP8.0 What r the
extre features of QTP9.2. | | 2 |
| What u say as experience(Interview) "TELL ME ABOUT UR SELf"?
As a Fresher(interview) What u Say? | ShopRite | 2 |
| In key word driven framework,we will rename the logical
names of objects,why? | Liquid-Hub | 3 |
| i am trying to capture the URL from the open browser and
store it. pls give me solution how we can do this in QTP.
thanks | | 2 |
| I have a string "Redfort is in Delhi" how do u write
vbscript for " Delhi in is Redfort" | | 2 |
| you written some code in qtp for opening google.com browser
and entered some text inthe search text box and clicked
search button. this is ur script..
before running this script i have already opened two
google.com browsers.
now am running the script what will happen?
script will run or what??
Thanks...
Nani
| Oracle | 4 |
| What type of VB script u had done in expert view? | | 1 |
| waht is the difference between QTP 8.2 and 9.0 version | AppLabs | 13 |
| Explain in brief about the QTP Automation Object Model. | | 1 |
| how will check the links in multiple pages at a time | | 2 |
| why qtp supports vbscript? and not for others just like
cgi,phython,shell,perl,html and all.. | Cap-Gemini | 2 |
| i have data in excel sheet.i imported the data in data
table.while doing parameterization,how the code knows it is
a valid or invalid data? | Fiserv | 2 |
| |
| For more QTP Interview Questions Click Here |