what is the Descriptive Progarmming? how it is help to
testers in QTP?

Answers were Sorted based on User's Feedback



what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / mukesh

I aggree with murali answer. The thing is that without
using object repository we have to descibe the object
properties in the script itself. by this we can save lot of
space and one more thing is that we can't use check points
while doing DP since object repository is required for
check points

Is This Answer Correct ?    1 Yes 0 No

what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / murali raju

without using object repository...we can able to run the
scripts using descriptive programming..whenever object
properties are changed,or objects are not recognized
properly..and object repostiroy size will increase..that's
the reason we write descriptive programming..just we add
the properties in our scripting..if u want how to write
descritptive progrmming ...then i will explaing later..

Is This Answer Correct ?    0 Yes 0 No

what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / indu

Murali this is indu.i know how to wok with qtp but,the prob
is in wiriting descriptive programming.will u pla tell how
will write the D.P.

Is This Answer Correct ?    0 Yes 0 No

what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / narendra

I echo with Murali answer and one more important advantage
of DP is.. we can run the DP wherever we want without OR
setting dependencies. e.g If we have a DP for yahoo
application and we can copy and paste the DP wherever the
QTP available and yahoo application accessible then simply
run it.

Hello Indu, find the DP program for gmail login below

browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebEdit("name:=Email").Set "uname"

browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebEdit("name:=Passwd").SetSecure "encrypted format
of password"

browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebButton("name:=Sign in").Click

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What are the Features & Benefits of Quick Test Pro ?

0 Answers   Crea,


how to write vbscript on web applications in qtp. explian with one example?

4 Answers   Wipro,


How does you pass optional arguments in qtp?

0 Answers  


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

0 Answers  


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

0 Answers   FIS,






I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

0 Answers   Wipro,


How many ways we can parameterize data in QTP?

6 Answers   Liquid Crystal,


what the diffference between test data and test cases what is meant by object hierarchy in qtp

4 Answers   Virtusa,


How to handle dynamic objects in quicktest professional (qtp)?

0 Answers  


I got some information from the QTP help.But i am not sure whether through this process will QTP work or not bellow is the Help what I have Remote setup Settings Remote WSH, which is a new technology included in WSH 5.6, provides the ability to run a script on a remote machine or machines. With Remote WSH, the script is physically copied from the local machine to the remote machine before executing. In order to enable Remote WSH functionality, you must first set up the remote machine with the proper security settings. The steps below perform the tasks that enable Remote WSH. Note Both the remote and local machines must be running Windows NT 4 SP3 or greater in order to use Remote WSH. To enable a machine to run remote scripts 1. Install WSH V5.6 on the machine. If you are using Windows 2001 or have installed Internet Explorer 6 or greater, WSH 5.6 has already been installed. Note WSH 5.6 is available for download from the web at http://msdn.microsoft.com/scripting 2. Add yourself to the remote machine's Local Administrators group. 3. To enable Remote WSH, use Poledit.exe on the server. Note An administrator who wants to enable Remote WSH must either acquire the Windows 2000 resource kit, or use http://msdn.microsoft.com/scripting to acquire the necessary windowsscript.adm file that contains the WSH settings. The windowsscript.adm file must be copied to the server that sets the gapplicabel group's policies. Although it is not necessary to copy the file to the server's \WINNT\INF directory, this is nonetheless where the default adm files are located. Note For more information on Poledit.exe, see the Poledit.exe's online help system. 4. WSH should now be enabled on the machine. To test it,. WSH 5.6 can run scripts that reside on remote systems. The following scripts demonstrate this capability. These scripts make the assumption that the files are located on a local machine directory called "c:\wsh5.6"; change the local path and the remote machine name as necessary. After initially running RemoteTest.WSF on the local machine, there may be a small pause as DCOM verifies your identity. After you see the "Done" message, a file named "c:\beenhere.txt" on the remote machine indicates the time that you executed the command (from the remote computer's clock). Script to run scripts remotely set oController = CreateObject("WSHController") set oProcess= oController.CreateScript("c:\wsh5.6\beenhere.wsf","remmachine") oProcess. Execute Could you tell me will it work fine

0 Answers   Livetek,


how to do the batch testing in test director using manual testing procedure?

0 Answers  


How u perform Batch Program in QTP?

3 Answers  


Categories