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
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 |
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 |
What is the Diff between Image check-point and Bit map Check point?
What is an Custom Object in QTP ?
How u prepare Test result summary in QTp?
how can i replace any text from the qtp script with some anothere text
1)What is the Difference Between WaitTo & Sync?
What issues come up in test automation, and how do you manage them?
Explain different checkpoints in qtp.
without Qtp features can we automated?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
· What should test in BANKING DOMAIN application ?
What are output values and why they are used ?
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application. plz explain in detailed or mail the sample code to malepatin@gmail.com