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 will be happen if i load object repository at run time, but it has already associated.
Why qtp always start action1 and does not start action?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
To which environments does quicktest professional (qtp) supports?
What are parameterizing tests?
What is the extension of the qtp local repository?
What is checking bitmaps?
How to save your test using quicktest professional?
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
What do you to script when objects are removed from application?
What is expert view and keyword view?
What is the use of sendkeys and what are send keys
Will down time for server and content maintenance/upgrades be allowed? how much?
What are the key elements available in test result window?