Why you are Using Descriptive programming instead of Object
Repository?

Answer Posted / sangeetha

1.For Dynamic objects ( properties during run time will
change ) ,we will go for Descriptive programming)
for example:

i=0
Browser().Page().Webedit("index:="&i).set
Next

2.When the application is not yet developed completely

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the recovery scenario in qtp?

761


what is test scheduleling?

2244


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

760


Mention what are the different types of recording modes in qtp? Which will be used when?

777


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1862


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4481


What is an object repository?

811


What is contained in the object repository?

831


What is QTP scenario.

1918


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1772


what could go wrong with test automation?

1761


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1616


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1694


Why is action split used by qtp?

754


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1678