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.......
Answer Posted / 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 |
Post New Answer View All Answers
What are private functions in QTP? How they can be called from the function library?
How to use debug tools?
How to associate shared object repository to test in qtp?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
what type of run time errors you get while you ar edoing rpg program?
How can you identify the browser and its information using QTP script?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
Which functionalities of QTP used in banking project?
what is vmodel?advantages and disadvantages of vmodel?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Name the properties you would use for identifying a browser and page when using descriptive programming?