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
How to Test the mainframe application?
Without using gui map editor we can recognize the application in winrunner ?
What is the differences between image check point and bit map check point?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
How the exception handling can be done using quicktest professional (qtp)?
Are Shared ORs read-only?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
Explain actions in qtp ?
Can I change properties of a test object?
How to create a standard checkpoint ?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Why do we use breakpoints in QTP?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
How to test login module with different username and password by using data driven testing in QTP?