how can you write a script without using GUI in QTP?
Answers were Sorted based on User's Feedback
Answer / naveen
We can Write the Script using without Object repositiory or
GUI objects, that is "Discriptive Programming" here we can
define an object with all properties.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / raveendra
without using GUI,Using descriptive progroming u can write
the scripts
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / s
Discriptive Programming
Sorry. the spelling is Descriptive programming.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / gs
Even in descriptive programming we will be using the gui,
but only the difference is usage. so the question itself is
wrong
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sree
We can write script once if we define all the objects
descriptions in a notepad....but while executing GUI is
mandatory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the environment variables?
can u Give Procedure to Handle Pop Window & write Code for that
what is parameterisation?
Explain in brief about the QTP Automation Object Model.
How can i see test results in excel sheet ? test data not present in data table.
How do you data drive an external spreadsheet?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
Use of environment variables?
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
I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?
can we use QTP for load testing instead of load runner?
In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?