| Other QTP Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| whenever a scenario is recorded ever, it creates a object
repository automatically (‘per action’ /local ). we do not
need to make them individually…then why we need a shared
object repository. How it will be practically utilized ??
your input will be highly appreciated.. |
| 5 |
| 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 |
| Describe the process for writing text check point for a web
application? |
ssinformatics | 2 |
| what are the different kinds of frameworks in automation? |
Accenture | 2 |
| Is there any site to download QTP....otherwise tell me the
way how to get the QTP sofware???????????????????
Thnx in advance |
Cegonsoft | 5 |
| how to write this script using descriptive programming?
the script below is the script generated by QTP plz write
the script using descriptive programming? plzzzzzzzz do
answer thanku
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebEdit("Email").Set "test123"
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebEdit
("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4"
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebButton("Sign in").Click
Browser("Welcome: Mercury Tours").Page("orkut - home").Link
("Logout").Click
Browser("Welcome: Mercury Tours").Page("orkut - login").Sync
Browser("Welcome: Mercury Tours").Close
|
| 3 |
| Are u place all QTP Framework folders in VSS? |
TCS | 4 |
| I have 14 itmes in a drop down that are associated with an
account And these items change with different accounts
I want to be able to define it by and index number or any
other id so if I enter 2 in my Global excel sheet it
selects the 2nd item from the drop down - is this possible?
|
Rogers | 5 |
| what is use of optionexplicit in variable declaration |
GE | 5 |
| How u call functions in QTP Function to calculate the
length of characters in a word - |
| 5 |
| How can we disable smart identification at the time of
recording? Ideally, smart identification should be enabled
only at the run-time. |
| 3 |
| what is verification & validation? |
Accenture | 1 |
| |
| For more QTP Interview Questions Click Here |