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 |
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?
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.
For which type of project the iterative model is suitable?
what is the advatages of merging of object repositories in Qtp9.0
how to select the work for complete automation and one more thing when u are going to choose automation
how to test load test and block box testing an a web based application pls give ans briefly
How to test menu options using qtp
what is Supplemental Objects ?
Can we directly automate testscripts accrdoing to requirements? WHY ?
what is descriptive.create()in qtp?
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.
How to export data present in Datatable to an ".xls" file?