WHAT IS THE DESCRIPTIVE programming when it is useful? &

when to use this ?

Answers were Sorted based on User's Feedback



WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?..

Answer / sreeprasad

1st Descriptive Programming is all about identifying an object

uniquely.

descriptive programming in QTP means whenever qtp facing

dificulty with obj identification then we will go with

regular exp or desc prog it means identifying obj unique

prop from the script itself.ex:vbwindow("").vbedit

("attached text:=username").set cdbjd

2nd answer

without using the objectrepository, and by using the

objectspy we will write the DESCRIPTIVE programming .when

ever we will go to DESCRIPTIVE programming :-

(1).when ever objects are dynamicaly changing.

(2).when ever QTP is not going to recognise the objects.

(3).when ever objectrepository size is huge automatically QTP

wil get down slow.

(4).when ever not yet develop the build then only we will use

DESCRIPTIVE programming .

Is This Answer Correct ?    0 Yes 0 No

WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?..

Answer / anand

without using object repository and writing the script
using properties of objects is the descriptive programming.
by using this programming we can write the sscript at the
time of design itself.no need to wait for completion of
code and we can save the memory of object
repository,because the repository stores properties of
every objects at each occurence.due to this there may be
slow down of tool performance.we should have one project
experiance for writing the script at design phase.
if any queries call me at
9293739871
Anand

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

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  


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

0 Answers  


Hello, I am facing problem to check textpoint for mercury application . I have inserted checkpoint to check flight summary for place of departure and arrival with datatable and script look like "Browser("Find a Flight: Mercury").Page("Book a Flight: Mercury").Check CheckPoint("Book a Flight: Mercury_4")" but while I am executing this script at last my check point gets fail and display Text Checkpoint: captured "" between Summary and 4/31/2008FLIGHT , expected "Acapulco" Match case: ON Exact match: OFF Ignore spaces: ON I think value from data table is not fatched so please guide me what I have to do to overcome this problem.. Thanks

0 Answers  


What is a Web Table?

5 Answers   Kanbay,


write is the code for regular expression in QTP

2 Answers   IBM, Infosys,






Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....

2 Answers  


What are output values and why they are used ?

0 Answers  


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

0 Answers   HCL,


Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?

4 Answers   Accenture,


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

0 Answers   BirlaSoft,


WHAT IS DIFFERENCE B/W QC 9.2 AND QC 10.0

1 Answers   SoftTech,


what is On Error Resume Next ?

4 Answers   Accenture,


Categories