What are the enhancements u did after recording ur script?
Answers were Sorted based on User's Feedback
Answer / poonam
After recording script:
* Placing for loop or If loop in order to get the messages
as the operation passes or fails.
* Adding the Checkpoints in order to check the functions.
* Doing parameterization in order to using the multiple data
for more than one iteration or easy data changes.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ycy
1.Verification by using checkpoint
2.Identify the item to be parameter
3.Split the script into actions and make it reusable actions
4.Reported the result pass/fail by using Reporter.Event
5.Adding exception handling recovery scenarios
| Is This Answer Correct ? | 0 Yes | 0 No |
How will internal and external links be validated and updated? how often?
How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it.
What is Parameterizing Tests?
what is retesting?
How to find the length of the string in qtp?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
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
How can you send user defined messages to test report?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
What is qtpro? What is quick test pro? What is a quick test professional?
How to use checkpoints in qtp ?
To which environments does quicktest professional supports?