What is Descriptive Programing? In which cases, we will go
for descriptive programing?
Answers were Sorted based on User's Feedback
Answer / ashish srivastava
1.When you do not want to use the Object Repository and
want to sepcify the property value of an object by writing
on the script.In that case we use Descripting Programming
(DP)
2. When we want to create function inthe external file such
as class File Library then we use descriptive programing.
3. When we know the property value of the object that are
use in the application by the developer ,so we can start
writing the script before the application come to the AUT
(Application Under Test).In that case we can use
descriptive programming
4. When we want to reduce the size of the Object Repository
In that case we use descriptive programing
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / mahabooob
The Objects in the application are dynamic in nature and needs special handling to identify the objects ,The best example would be of clicking a link which chages acording to the user of the application.
When the objectrepository is being huge due to the number of objects being added to the application ,if the objectrepository is increase too much decrease the performance of the qtp in order to identify the object,
when the application is not developed at,writing the scripts for application is application to be up,or if we no the descriptions of the objects we can starthem of the early stage.
| Is This Answer Correct ? | 0 Yes | 2 No |
HI How to take screenshots of a Webpage and saving it in a external word document using QTP.
Hi Friends, Every one is posting the Answers for the existing questions.Try to post the questions that are asked in Recent Interviews.It will be useful to the other Job seekers.
when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
How you can replace string in qtp?
IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS
What is the difference between client server application and web based application?
I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?
Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?
12 Answers IBM, Semantic Space, TCS,
What is Environment Variable and when we apply this in QTP?
Which object repository we use in real time and can we merge 2 object repostiory and how?
what is object spy