Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the use of descripting programming?

Answers were Sorted based on User's Feedback



what is the use of descripting programming?..

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

what is the use of descripting programming?..

Answer / kk

we can improve performance if we use DP instead of using OR

Is This Answer Correct ?    1 Yes 0 No

what is the use of descripting programming?..

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

what is the use of descripting programming?..

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

what is the use of descripting programming?..

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

what is the use of descripting programming?..

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

what is the use of descripting programming?..

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

what is the use of descripting programming?..

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

Post New Answer

More QTP Interview Questions

PLS REAL TIMERS WRITE THE ANS FOR THIS? WHICH SCRIPT IS USED IN REAL TIME NOW A DAYS 1)SHARED REPOSITORY BASED SCRIPT 2)DESCRIPTIVE PROGRAMMING BASED SCRIPT?

1 Answers  


how to get the object count ?????????

8 Answers  


difference between waitProperty & Checkproperty

4 Answers   AON,


Which object model ur used in ur project

2 Answers   Cap Gemini,


How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?

2 Answers  


What is Test Fusion Report in QTP?

0 Answers  


Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


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.

1 Answers  


What is User defined function in QTP

6 Answers   Bank Of America,


When i used this below script to insert value in the Datatable... At run time it was inserting the given value in the specified column, But after execution all those inserted values were cleared automatically... datatable("column name",sheetid)=value

1 Answers  


How will you test a keyboard?

0 Answers  


Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!

3 Answers  


Categories