Question { 8455 }
How we can add objects to the object repository during the
running?is it possible or not?explain
Answer
Is This Answer Correct ? | 2 Yes | 0 No |
Question { 10084 }
how to use import and export sheet methods in qtp
Answer
Is This Answer Correct ? | 5 Yes | 1 No |
how to read log file using QTP??
Answer
Is This Answer Correct ? | 4 Yes | 2 No |
Question { 6570 }
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
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Whenever we use GETROPROPERTY function.
Answer
Is This Answer Correct ? | 14 Yes | 3 No |
write a qtp script to see time in windows command prompt?
its urgent....
Answer
Is This Answer Correct ? | 1 Yes | 2 No |
how can we group that these test cases only should be
automated and in which order you execute that test cases?
Answer
Is This Answer Correct ? | 0 Yes | 1 No |