SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Sep 2005
    Location
    Bangalore
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to get Line Number where my script is executes

    Hi,

    can any body give me idea how to get a line number where my script is in runtime.

    Thanks in advance for ur advice...

    thanks,
    Nag.

  2. #2
    Senior Member
    Join Date
    Feb 2003
    Location
    FL, USA
    Posts
    3,646
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: How to get Line Number where my script is executes

    Lynne

    I have not failed. I've just found 10,000 ways that won't work" --Thomas Edison

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Location
    Bangalore
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Line Number where my script is executes

    HI guys,

    here in my scripts i am not using any Reporter.Report event already i developed external function to store the results of my scripts in Excel sheet.

    but at the time of debugging my script if i want to know where my application got failed exactly i need line number where the script execution is at that movement.

    Thanks for ur idea... till now.

    expecting some more idea's abt it..

    Thanks in advance..

    Thanks,
    Nag.

  4. #4
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Line Number where my script is executes

    You can only do this by adding a temporary MsgBox at each point in your script.

    Mark Smith.

  5. #5
    Moderator ifraser's Avatar
    Join Date
    Jul 2004
    Location
    Brisbane, Australia
    Posts
    2,090
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Line Number where my script is executes

    Have a look at this

    http://www.sqaforums.com/showflat.ph...e=0#Post337920

    I have a checkpoint restart in this demo
    You can buy my Art from: "Post Cards now available"
    Ian Fraser Landscape Photography
    World Wide Shipping.

    http://mowogman.wordpress.com/

  6. #6
    Junior Member
    Join Date
    Dec 2006
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Line Number where my script is exec

    Check if your test is running in the Fast mode, if it is then set it to Normal. This could be found in Tools-->Options-->Run. When the test hits an error it will stop for user interaction.

 

 

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 10.00%
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 10:42 AM.

Copyright BetaSoft Inc.