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 ARE THE DISADVANTAGES OF SHARED REPOSITORY?
How to handle Java tree in QTP?
How to create runtime property for an object?
WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?
21 Answers ABM, AZTEC, CTS, Infosys, Nihilent, Orange,
What are the properties you would use for identifying a browser and page when using descriptive programming?
How to resume the second iteration in the QTP,, if the error has intrupted the the second iteration. When i use run from step it starting from the first iteration again.
1. What is diffrence between Analog Recording And Lomlevel Recording ?
what kind of erros can be handled with the using QTP?
Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?
Can anyone please tell me how to select next 5th business date from calendar using QTP/UFT ?
1 Answers Cigniti Technologies,
How to verify the Cursor focus of a certain field?
What VBScript operators, functions, and statements do you use in QuickTest Professional?