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

suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..

2 Answers   Core Logic,


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

0 Answers   Ordain Solutions,


what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz

1 Answers  


How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2

1 Answers  


how do we add a new sheet to data table in QTP?

7 Answers   TCS, Wipro,






Approach for Installation,comaptibility,system testing

0 Answers   Diebold,


How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?

1 Answers  


Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?

3 Answers  


how can i parameterize a login page by using database parameterization i fetch the username and password from database and put this on login page and click on ok button. so how can we write script for that code please let me know asap thanks

4 Answers   iCreate,


How to create runtime property for an object?

0 Answers  


If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.

3 Answers  


Need one Urgent help please,for ex: first time i created Local reposory and convert that local to shared Rep and save in some where(by using Export local objetcs), unfortunately that saved repository is missed, now i want same repository,but iam not able to export the same repository second time?? i need that Repository only how to get???

2 Answers   TCS,


Categories