Just a few thoughts:
- Allow the user to right-click on an activity on screen and a Debug Comment menu option is made available. A small window pops up where they can select a dropdown a “Tag” if desired. Say the list is: Comment, Bug, Enhancement. The default is “Comment”.
- Studio has a “Debug Dialog” control area available (Not sure what the name should be but “Debug Dialog” seems appropriate possibly) similar in functionality to the Debug Breakpoint management control area. So there is already a similar “control” area already in Studio to base the UI/UX aspects on.
- In the “Debug Dialog” control area you see a list of the Debug comments that have been added during a Debug run. This screen shows what “tag” is associate with each comment. The “Tag” column can be sorted for easy stacking of the comments by blocks.
Example notes might be:
- Tag: Bug Comment: The activity is pulling the wrong value from the web page here. It should be pulling out value bhalbahblahbalh.
- Tag: Comment Comment: There seems to be a missing branch of logic after this activity related to unhappy path logic. Please look into Try/Catch logic to handle this.
- Tag: Enhancement Comment: While the logic works, please refactor this from a Sequence Diagram and into a Flowchart. The logic within this xaml is wwwwaaaayyyy too complicated for a Sequence Diagram. I think 7 layers of nested If Activities is a little much … just say’n …
I was just thinking about post-Debug and how to handle this “data” fluff within the various xaml files now. What happens when you are “done” and don’t need the dialog anymore. My thinking there is possibly similar to the delete unneeded screen snapshots feature. You could have something that says simply: Purge Debug Dialogs and it prompts for confirmation.
The other things hitting me as I type this up is what about SCC ? My thinking is Debug Dialogs should be in SCC as the person making this comments may be a tester and doesn’t make updates. They only add Debug Dialogs.
And even more so, is this a “Chat” like feature similar to the Comments capability in Word for example ? This goes to the life-cycle question as well. Can others comment back to your dialogs, delete them, etc.
Oh damn, if Studio had integration to a ticketing system that is setup … someone could use a little more syntax to “trigger” that integration within the Debug Dialog to automatically generate a ticket !!
Sorry … a little deeper than I intended this to go but just ideas … Happy Sunday y’all