WHAT IS THE DESCRIPTIVE programming when it is useful? &
when to use this ?
Answers were Sorted based on User's Feedback
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 |
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 |
How to test login page by using QTP
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
Explain the check points in QTP?
how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first
what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief
what is descriptive programming?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.
How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)
1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?