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



hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, reco..

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

hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, reco..

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

Post New Answer

More QTP Interview Questions

While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

0 Answers  


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


For which type of project the iterative model is suitable?

0 Answers  


what is the advatages of merging of object repositories in Qtp9.0

3 Answers   TCS,


how to select the work for complete automation and one more thing when u are going to choose automation

3 Answers   Fidelity,






how to test load test and block box testing an a web based application pls give ans briefly

0 Answers   Impiger,


How to test menu options using qtp

2 Answers  


what is Supplemental Objects ?

0 Answers  


Can we directly automate testscripts accrdoing to requirements? WHY ?

1 Answers  


what is descriptive.create()in qtp?

3 Answers  


Hi i have a webtable which is having 7 columns and 6 rows of data in that table of 4th and 5 th column each row is partiotioned into 3 sub rows i want to verify in each partitioned rows of corresponding row for ex values will be like this 0 / 1 ,26/28.if it is 0/1 i want to skip only if any num/num greater than 1 i want to click.

1 Answers  


How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,


Categories