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 |
Explain the QTP Tool interface.
what type of test cases tou will automate?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.
How to execute the test cases using QTP. i.e What is the use of QTP while execution
does test plan is in test strategy or test strategy is in test plan
what is exact difference between smoke and sanity testing?
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?
where do you define the objects as regular expression when u are using regular expressions.
What is the use of Regular expression?
in my database haveing 3X3 (manas having 3 rows 3 colums) i want to test only (2nd row 3colum) bit how to test either script or any automation plz explain? (Chandana)
what are all the fileds present in object repository?