Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate Problem Steps Recorder (psr) in my application?

Windows 7 has a wonderful facility called problem steps recorder.
You can start it by typing psr on the command line.

enter image description here

What's the best way to integrate this into a Delphi application?
And is there a COM automation interface for psr?

I want to:

  1. start the recorder from the program (easy: issue a command line and start it);
  2. start recording automatically; (can this be done?)
  3. Preset the filename psr will store the capture in; (how?)
  4. Email the capture to an email address specified in my code.

If there's an alternative tool that does the same stuff I'd love to hear about that as well of course.
Because this is mainly a user-experience issue I'm not interested in automated crash reports, I know madexcept does a wonderful job on those.

I'm interested in seeing a slideshow where the user explains in 4 steps why feature x sucks or does not work as expected.

like image 267
Johan Avatar asked Dec 14 '11 22:12

Johan


2 Answers

It can be used from command line:

psr.exe [/start |/stop][/output ] [/sc (0|1)] [/maxsc ] [/sketch (0|1)] [/slides (0|1)] [/gui (o|1)] [/arcetl (0|1)] [/arcxml (0|1)] [/arcmht (0|1)] [/stopevent ] [/maxlogsize ] [/recordpid ]

Here you can find more information about command line usage: ctrlf5.net/?p=176 link removed as page 176 is now a nasty malware page

And here is sample project which automates psr thorught command-line (c#): http://psr4vs.codeplex.com/SourceControl/changeset/view/10645#172579

like image 139
Pol Avatar answered Sep 16 '22 18:09

Pol


Free alternative I can suggest is called StepsToReproduce. In many aspects it's much more usable - it allows several options for recording (screen/window/region) and has powerful annotation tools.

like image 25
Sasha Reminnyi Avatar answered Sep 20 '22 18:09

Sasha Reminnyi