what is descriptive programming in QTP? How can be done?

Answer Posted / neelakantan

Basically by having object repository it has both
advantages as well disadvantages. We all know about
advantages.. As far as disadvantage is concern Supoose if u
have unstable application ie Properties might change or
Name of the Object might change..Frequent changes is
happening in ur application..We will go for descriptive
programming.. Pbjects id will be unique for all
applicaions.. So by having unique id we can write the code
like

("windowid:=2342143")

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Problem with XML checkpoint in QTP ?

3505


How smart identification works in qtp ?

576


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

620


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3279


How you can decide which type of object repository you have to use?

703






Diff b/w Health care domain and Banking Domain?

4217


What are the automation metrice in your project?

1715


after click on compose mail how can we attached a file in qtp with vbscript code

1612


What is the architecture of your project? Can any one answer for this question plz........

1412


is there any addin for remedy user application

1744


How many types of parameters are available in quicktest professional (qtp)?

585


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

612


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

585


how to find that tools work well with your existing system?

1403


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1377