Results 1 to 4 of 4

Thread: Conventions on writing codes for QTP

  1. #1
    Geek_Guest
    Guest

    Conventions on writing codes for QTP

    Question asked by visitor anis

    HI, I just beginned to use QTP and i have a lot of questions:

    Is there any conventions on writing codes for QTP?
    Is descriptive programming more efficient then other one?
    If I am working on distant server, which technics are convienent object repository or descriptive)?

    Thanks a lot


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

    Re: Conventions on writing codes for QTP

    Ofcourse descriptive is rather useful & more covinient than anything else coz u wont have any repository for this and u need not add any objects incase if QTP doesnt identify the objects..


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    147

    Re: Conventions on writing codes for QTP

    Quote Originally Posted by Geek_Guest View Post
    Question asked by visitor anis

    HI, I just beginned to use QTP and i have a lot of questions:

    Is there any conventions on writing codes for QTP?
    Is descriptive programming more efficient then other one?
    If I am working on distant server, which technics are convienent object repository or descriptive)?

    Thanks a lot
    1. There is no fixed convention for writing codes in QTP. Just follow the approach you are comfortable with keeping in mind Code Optimization.
    2. DP is more efficient in any case
    3. Be it be Distant Server, use DP if you require


  4. #4
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Conventions on writing codes for QTP

    1) the best convention could be how QTP records the script.

    2) DP is more efficient coz we can incorporate our programming logic in the test script to get done with all the testing we want to do.

    3) DP will be convenient coz the server will be already loaded with lot of data which may go slow at times. If test script is also slow coz of large object repository then the whole test process will be very slow.

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

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