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 |
How can you pass value one action to another action?
What is clean sweep?
How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
What frame work ur using in QTP in ur current company?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538
what is framework? which frame work u follow for writting script?
Differences between text and test area checkpoints?
What is the difference between functional spec. and Business requirement specification?
What is deference between normal QTP testing and descriptive programming?