Results 1 to 6 of 6

Thread: Discriptive proraming(DP)

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    1

    Discriptive proraming(DP)

    could u pleas give some tips and notes to write Discriptive programing


  2. #2
    Contributing Member
    Join Date
    Feb 2007
    Answers
    61

    Re: Discriptive proraming(DP)

    Hi,
    Descriptive programming needs no repository
    U add the objects & define the repository on ur own
    Only thing is you need to have command on VB scripting

    Thanks,

    Kamal


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    147
    In DP another advantage is that whenever there are 2 or more fields which have the same name or description property.... you can identfy the system with the unique properties like index.

    DP also helps when the objects property when recorded is not identified at runtime. So you just use other properties which are identified at runtime.

    Last edited by jainbrijesh; 07-06-2007 at 04:38 AM.

  4. #4
    Contributing Member
    Join Date
    Mar 2007
    Answers
    35

    Re: Discriptive proraming(DP)

    To code descriptive programming we need to spy the object and read the unique physical propert(y)ies of the object...these are syntax

    CalssName("property:=
    example,

    Browser("name:=Google").Page("title:=Google").Link("name:=Search").Click


  5. #5
    Contributing Member
    Join Date
    Feb 2006
    Answers
    41

    Re: Discriptive proraming(DP)

    Descriptive Programming is something which you enhance the script generated after you record. Remove the unwanted script and include the user defined functions, logic and parameterize the script upto the needs.

    Declaring and making use of environment variables, passing the values, working with userdefined functions, sub procedures..etc will make script enhanced to descriptive programming.

    As Raghav and Dableena said, we should have a good command on vbscripting, logic building..etc. And coming to objects Names we shall directly refer to name space for all the objects in application without using object repository. Use the appropriate/unique object properties to identify the same. This will really enhance the script. It totally eliminates the object repository dependebility.

    This is descripting programming. Hope the info. is useful.

    Arun*


  6. #6
    Junior Member
    Join Date
    Nov 2006
    Answers
    1

    Re: Discriptive proraming(DP)

    hai kamal,

    thank u for ur answer. i have one more doubts on qtp.
    how to prevent sharing qtp scripts from others.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact