hai, i am doing QTP by own. So, i am confident in
checkpts,synchronization, data driven test, recovery
scenarioe manager etc. but actually i don't know how all
these we wil implement while we r writting code manually.
when we r doing practice, while recording code is
automatically generated but in real time i heard that we
have to write the script.But i don't know how it is?
How to write descriptive prog.? plz. tel me what r the
basic things we have to know? explain how to write
descriptive prog.? explain me with an example pls.......

Answers were Sorted based on User's Feedback



hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, reco..

Answer / priya

Hi,
Descriptive programming means providing description of
objects in the script itself to identify the objects.
we will write DP in 2ways.
1.by using properties collections
2.by using Description.create
example:
Dialog("text:=login).winedit
("attachedtext:=username").set "xxxx"
dialog("text:=login").winedit
("attachedtext:=password").set "yyyy"
Dialog("text:=login").winbutton("text:=ok").click

Is This Answer Correct ?    1 Yes 0 No

hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, reco..

Answer / srujan

Hi your saiyng that, doing your own..just go to help and
type descriptive propg in QTP help then u can find the ways
to write the desc pro. the syntax for writing descriptive
pro is "property := value" just findout..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is expert view in qtp?

1 Answers  


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1 Answers  


what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?

2 Answers  


What are the benefits of qtp?

1 Answers  


Explain runtime dynamic settings?

1 Answers  


In QTP what is the difference between Step-in, Step-out, Step-over ?

3 Answers   CTS,


what is the difference between data driver & data driven and driver script?

1 Answers  


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

0 Answers  


Can you expect major bugs in Net banking Application?

1 Answers  


What is checkpoints for qtp?

1 Answers  


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

1 Answers  


I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  


Categories