Isn't it a very frequently asked question in qtp - "why use DP over object repository"?
Here we will look into few scenarios where Descriptive Programming (DP) is more suitable to use then OR.
Scenario 1. - you need to count how many search result are returned when you search a particular search criteria. For example, you want to see how many
qtp/selenium/agile/java jobs are posted on a job portal in last 2 days! you then want to select all and apply.
Because you dont know in advance how many checkboxs will be there on search result, you cant use object repository.
Using DP (childobject), you can easily handle this scenario.
Scenario 2. - you are working on automation of an application where latest code is not deployed yet. To use OR, you must wait untill application is up and running. But if know the object descriptions, you can continue to create you automation scripts using DP.
Scenario 3. - your application is having 10 pages and every page has 2 same button i.e. "Previous Page" and "Next Page". So if use OR, it will add 2 objects for each page i.e. total 20 object for 10 pages. Instead of having 20 duplicate objects and making our OR unnecessarily 'bulky, we can simply write 2 DP objects.
Scenario 4. - Descriptive Programming is very useful for tricky objects like blotter grids, auto-hiding menus and embeded/nested objects and advanced string manipulations.
Scenario 5. - It might not sound a great example but suppose your qtp server is crashed and you can not open/access qtp OR for a while (1-2 days). If you use OR, you have wait until server is back, but you can continue to work if you use DP (advanced users).
Hope above are enough reasons to answer why to use DP at all!!
Click here to learn descriptive programming.
Please share your scenarios/views on this.
Hi Its good , could you please provide some examplesReplyDelete
Great Article android based projectsDelete
Java Training in Chennai
Project Center in Chennai
Java Training in Chennai
projects for cse
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
The Information which you provided is very much useful for us. Thank You for Sharing Valuable Information. QTP Training in Chennai | Software Testing Training in ChennaiReplyDelete
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.Delete
Superb.An informative one. It is a new information for me. It help me to know about it. Thanks for sharing this information.ReplyDelete
Buy essays online
These provided information was really so nice,thanks for giving that post and the more skills to develop after refer that post. Your articles really impressed for me,because of all information so nice.ReplyDelete
SAP training in Chennai
Valuable information thanks for sharing UFT Online TrainingReplyDelete
I was looking this kind of information for many days. Finally I am here. Thanks for sharing.ReplyDelete
dissertation Writing Service
i have a doubt on scenario 2 :- How can we write descriptive programming when the latest code is not deployed yet ? Can you explain me in detail ...ReplyDelete
i mean how can we add object property details in the descriptive programming ?ReplyDelete
what are the documents we refer to get property information ?Delete
TreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.ReplyDelete
Check out the best
shoe rack nz
bedroom furniture nz
Really very good .....Thanks for sharing it ... 1crore project center is providing best Best android ipt training in chennai with certification and guaranteed output for your projects..ReplyDelete