Hi,
I have 50 test cases for automation,
Based on which criteria we can decide for these test cases
we have to use Descriptive programming and remaining for
general coding?
Thanks In Advance..Kavitha
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
This is all dependent on the requirement. If those 50 test
cases contains core functionality and most of the objects
are repitative then we store those objects in Shared OR,
and the objects that are dynamic in each exuction then we
will write description programming fo those those objects.
And sometimes if you application is not ready, and if know
the properties of objects then we will go for descriptive
programming.
And also assume if your application consists of 50 Users
button like User1, User2, User3 like buttons, rather that
creating 50 objects, directly user the descriptive
programming.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / subhash pasupuleti
Kavitha,
Whether we use Repository or Descriptive programming is an
approach. Many Framework based systems use escriptive
programming. %o is too small a number to say this way or
other. If Test cases or 5000 then certianly I would go for
Descriptive programming
| Is This Answer Correct ? | 2 Yes | 1 No |
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
how to merge object repositories?
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
what is verification & validation?
how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
They asked by using qtp recording writing scripting
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
what are the Common Problems in S/w development process
any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Browser ("Browsername").Page("Pagename").Weblist ("weblistname"),"items count")) msgbox intFieldItemsCnt
What is throw object?
If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
How can you identify the browser and its information using QTP script?