why use Description programming? what is advantages and
disadvantage of this methods?
Answers were Sorted based on User's Feedback
Answer / keerthi
If at all the objects description is kept inside the
program itself then it is known as descriptive programming.
advantages:
descrptive programming execution speed is good.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / uday
DP is useful when the application is not ready(built), and
we know all properties of the objects used in that
application.
Assume you have a page in which there are 50 checkboxes.
You want to select all the checkboxes. You can do this
better using DP.
While running scripts, it is little faster of execution if
you use dynamic DP than OR, since to build the object, QTP
has look for that object in OR, retrieve the object
properties and build the object. Where as in dynamic DP,
properties are provided on the object itself.
| Is This Answer Correct ? | 1 Yes | 0 No |
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
what is the structure for the data driven framework
How to interact tool & application build in QTP?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J
7. Given scenario is like this: One Web table is there and you have to search and retrieve a cell data which is equal to the given number say:123. Assume you have given with the column name/id of the table where the number may exist. So now you have to go to the given column and search for the number 123 and retrieve it along with the row number of it.
In qtp, explain what is keyword driven automation framework?
How to open a new test using QTP?
How should I check my code( Before going to execute) without executing the script in QTP
hi friends i have 4 yrs exp in testing and 2 yrsexp in QTP.currently aim working in mnc in north as a permanent employer .iam looking for job in south is there any openings plz let me know my mail id is bjr@aol.in its very urjent
Use of Debug Viewer?