+ Post New Thread
Results 1 to 13 of 13
Scripts Thread, Bug reporting script in Coding and Web Development; I'm looking for a bug reporting script which will do the following; 1 - Ask the user for a description ...
  1. #1
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Bug reporting script

    I'm looking for a bug reporting script which will do the following;

    1 - Ask the user for a description of the problem
    2 - 'snapshot' the environment (process list, cpu config, memory etc)
    3 - Either email the lot to a predefined address or store in a central DB

    I can probably knock something together myself in AutoIt, but there's obviously no point in reinventing the wheel. Has anyone seen anything like this?

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,053
    Thank Post
    888
    Thanked 1,728 Times in 1,491 Posts
    Blog Entries
    12
    Rep Power
    453

    Re: Bug reporting script

    That would be very handy for my school as well, please let me know if you get one. It would be handy if it put the following on: Date, Time, Computer name, User logged on,

    Thank You

    Z

  3. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,224
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780

    Re: Bug reporting script

    I had the same idea but have not found anything as yet. I was thinking of a system tray application that could be double clicked. Ideally this would take a screen dump of the current screen then ask the user for a description of the fault. It could then be sent along with the current workstation name, logon name, time, date and process list to a web service.

    You could then have a site which showed the information from the DB.

  4. #4
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Bug reporting script

    I'm working on an AutoIt script which reports back to an SQLite DB at a network location. If anyone knows of a scriptable utility that can take screenshots (freeware of course), let me know and I'll try to include it.

  5. #5

    Join Date
    Dec 2006
    Location
    US
    Posts
    300
    Thank Post
    64
    Thanked 17 Times in 16 Posts
    Rep Power
    18

    Re: Bug reporting script

    Quote Originally Posted by ajbritton
    If anyone knows of a scriptable utility that can take screenshots (freeware of course), let me know and I'll try to include it.
    Screenhunter is a free program that takes screenshots.
    The following page has a list of command line switches that are supported by the program. This sounds like it might be what you are looking for.

    http://wisdom-soft.com/kb/faq_sh.htm

  6. #6

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,156
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124

    Re: Bug reporting script

    What about http://www.microsoft.com/windows/pro...ise/scdem.mspx - this is the "corporate" version of the error reporting which happens in Windows when a crash happens or you terminate a process etc.

    It's part of the MS Desktop Optimization pack; it's not free but it's not very expensive (but I'll leave someone else to try and find out exactly how much it is ... MS licensing is not something I can face until after quite a few more beers!)

  7. #7

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: Bug reporting script

    See if you can break this (needs dotNet2 & makes jpegs).

    Usage: dumpscreen <filename>
    Attached Files Attached Files

  8. #8
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Bug reporting script

    @PiqueABoo: Thanks for the posting, but I should probably have mentioned that the estate of machines I need to run this script on are quite old. They will be Win2Kpro PCs with as little as 128Mb and almost certainly no .NET framework installs.

    I've got a work in progress for the reporting script. At present, it does the following;

    1 - On loading (at user logon), it records the computer and memory details on the SQLite DB.
    2 - Creates a tray icon and sits in the background waiting for user to trigger it.
    3 - When triggered, prompts for a description of the error and then logs this along with another memory status snapshot in the DB file.

    When I've knocked it into shape a bit more I'll post it.

  9. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,053
    Thank Post
    888
    Thanked 1,728 Times in 1,491 Posts
    Blog Entries
    12
    Rep Power
    453

    Re: Bug reporting script

    Is it possible to send the report to an e-mail address?

    Z

  10. #10
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Bug reporting script

    I believe AutoIT has that functionality built in. If not, I suppose Blat would do it. It would have to be via SMTP though.

  11. #11

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: Bug reporting script

    They will be Win2Kpro PCs with as little as 128Mb and almost certainly no .NET framework installs.
    ::sob:: I spent nearly FIVE WHOLE MINUTES on that!!

    Two of which were figuring out you can't attach an EXE file to a post on these forums.

    It doesn't take many lines of code. A win32, not-dotNet, version would be more economical e.g. a dozen lines total and maybe three minutes. But you'd have to put the MS redistributable gdiplus.dll somewhere in the path on W2K boxes (it's already there on XP).

  12. #12

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: Bug reporting script

    It's raining.

    This should work without dotNet on XP. It should also work on 2K, but on that OS if you don't already have it, you need the gdiplus dll from here:

    http://www.microsoft.com/downloads/d...displaylang=en
    Attached Files Attached Files

  13. #13
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Bug reporting script

    Many thanks PiqueABoo.

    I don't have time to actively develop the script right now (and I think there are far more skilled developers here anyway...), so I've posted what I've got so far.

    The script needs SQLITE3.DLL (download from sqlite.org) and DSWIN32.EXE (which appears to work perfectly) and GDIPLUS. I've found SQLite Expert Personal to be very useful for working on the SQLITE DB.

    The script defaults to using BugLog.DB3 in the same directory as the script, but can be redirected using the INI file. The same goes for the target directory for screen dumps.
    Attached Files Attached Files

SHARE:
+ Post New Thread

Similar Threads

  1. What are your reporting methods?
    By indiegirl in forum How do you do....it?
    Replies: 21
    Last Post: 22nd June 2012, 09:58 AM
  2. Behaviour Reporting
    By TechMonkey in forum How do you do....it?
    Replies: 8
    Last Post: 8th February 2008, 07:53 PM
  3. Storage Reporting
    By elsiegee40 in forum Windows
    Replies: 8
    Last Post: 4th December 2007, 10:09 PM
  4. CMIS reporting engine
    By wickit in forum MIS Systems
    Replies: 1
    Last Post: 18th June 2007, 04:49 PM
  5. Fault Reporting - Beyond IT
    By TechMonkey in forum How do you do....it?
    Replies: 6
    Last Post: 17th February 2007, 11:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •