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
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Are Shared ORs read-only?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What is keyword view in qtp?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
How many scripts did you have?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
what is error and fault in terms of software quality?
If object is not recognized by qtp but the object is standard object what is your approach?
What is checkpoint in qtp?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
What is expert view in qtp?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Which functionalities of QTP used in banking project? pls any say answer?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?