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
Explain calling sub procedure.
What is the expert view?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
what is the difference between development and testing
What is the recovery scenario in qtp?
What is the difference between local and shared object repository in qtp?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
What are the key elements available in test result window?
What is the basic concept of quicktest professional (qtp)?
What are the various types of Actions in UFT?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
How to carry out bit map check points in QTP
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
what is the advantages and disadvantages of using functions instead of re usable actions