SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Oct 2005
    Posts
    157
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    how to comment it multiple lines on qtp script

    Hi

    I would like to know how to comment it multiple lines on qtp script. I know sigle quote(') using for single line.

    Ex1:
    'Quick Test Pro

    Ex2:
    Mercury
    Quick Test Pro
    Quality Center
    How to comment it Ex2.Please any one help me.
    Thanks
    Sai

  2. #2
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to comment it multiple lines on qtp script

    if 1=2 then
    Mercury
    Quick Test Pro
    Quality Center
    How to comment it Ex2.Please any one help me.
    end if

    Sub ExcludeIt()
    Mercury
    Quick Test Pro
    Quality Center
    How to comment it Ex2.Please any one help me.
    End Sub

    Janna

  3. #3
    Member
    Join Date
    Feb 2005
    Location
    Bangalore, India
    Posts
    303
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to comment it multiple lines on qtp script

    i heard QTP 9.0 has this block commenting feature

  4. #4
    Junior Member
    Join Date
    Jan 2006
    Location
    Chennai
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to comment it multiple lines on qtp script

    yes, this feature is currently unavailable. It'll be made available from QTP 9 onwards.
    Mercy Angeline. J

  5. #5
    Senior Member
    Join Date
    Jun 2004
    Location
    Miami,FL
    Posts
    949
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to comment it multiple lines on qtp script

    Janna nice work a round by having false statement
    you remind me with my trick for copying an ORACLE table structure without the data

    Create table table_name
    AS
    Select *
    From original_table
    where 1=2;
    "I realize it's an error, but no one is going to try to do that!"
    From "Top 10 Stupid Comments from Developers".

  6. #6
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to comment it multiple lines on qtp script

    :-}

    Janna

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 9.38%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:44 AM.

Copyright BetaSoft Inc.