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 is checkpoints for quicktest professional (qtp)?
How to create runtime property for an object?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What are the ordinal identifiers in web page?
Name the different types of recording modes?
What is the quicktest professional (qtp) testing process?
Discuss quicktest professional environment?
How to find the name of the machine where you are running your automation scripts in qtp?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
What are the views available in qtp?
Brief the process of testing with UFT?
How you are developing the script? Using record and play back or manual?
Is it possible to change the values of analog recording?
Which scripting language used by quicktest professional (qtp)?