what is the use of descripting programming?
Answers were Sorted based on User's Feedback
Answer / satyanarayana
We can go for descriptive programming in the following
situations
1).When application under test (AUT) is not ready.But if we
the objects and their properties then we can prepare the script
2).If same type of objects present in multiple pages then it
is difficult to maintain object repository then also we can
go for descriptive programming
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kk
we can improve performance if we use DP instead of using OR
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kiran
1) Avoiding OR
2).When application under test (AUT) is not ready.But if we
the objects and their properties then we can prepare the script
3).If same type of objects present in multiple pages then it
is difficult to maintain object repository then also we can
go for descriptive programming
4)we can improve performance if we use DP instead of using OR
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / siva
We no need to depend on OR.
we will write the property and values in the script
statements it self. so that qtp will identify based on that
properties. no need to depend on OR
ex: window("flightreservation")winedit("userid").set "siva"
with the above example it will go to identify the userid
edit box using OR
and where as in Discriptive programming.
window("attachedtext:flightreservation")winedit
("attachedtext:userid",.......(no of values to
identify).set"siva"
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / haribabu
hai siva
window("attachedtext:=flightreservation")winedit
("attachedtext:=userid",.......(no of values to
identify).set"siva"
this is correct script
if you want any dout
make a call i will explain
9916398678
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shamsher singh
There is 2 methods 1 using Object repository . 2 using
Descriptive programming.
In descriptive programming we can create own COM object and
use them in application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ram.polavarapu
-descriptive programming is used to find more similar objects.
-there is no object repository for descriptive scripting so
size of the script is less executing is fast.
ex->
print the all links in Google page
dim link
set link=description.create
link("micclass").value="Link"
set a=browser("").page("").childobjects(link)
for i=0 to a.count-1
s=a(i).getroproperty("text")
print s
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna
You dont have to use the Object repository.
u can write scripts using the Scenarios,u dont have to wait
for the application to come.
| Is This Answer Correct ? | 0 Yes | 1 No |
Give answer with example what is orthogonal array testing technique?
How does u create new test sets in TD?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
how to get font size of a "WebEdit"
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2
How we can merge the object repositories?say if we have two or three object repositories then how e can merge them? is there any option in Qtp to merge the object repositories
Explain quicktest professional (qtp) testing process?
hi Sudhananda reddy, in my resume, i written as , I Am working as a Test Engineer for xyz company. IS IT RIGHT OR WRONG? WHAT IS THE ACTUAL meaning of "IN XYZ COMPANY", "FOR XYZ COMPANY", "WITH XYZ COMPANY".
What is the basic concept of qtp?
How to test background color and dynamic images which are moving during runtime?
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically