Can I define custom key bindings for custom events in iTest without getting into writing a plugin? For example, I want to define a key binding so that a user can hit a key and insert real-time annotations in a dialog box while a test is running. The key bindings available from the Preferences seem to be for predefined events, none of which seem fitting for what I am trying to do.
Btw I tried to use wish for that purpose, but there seems to be an issue. I created a Tcl session profile, with the interpreter path set to C:/Tcl/bin/wish84.exe and the proper library. Once I start the Tcl session from iTest, the interpreter no longer recognized the bind command. If I start wish84 autonomosly (outside of iTest), the bind command works as expected and I am able to define my own key bindings. Any knowledge of this issue?
I will appreciate any thoughts on how to achieve the desired funtionality (via iTest or wish).
Thanks,
Milen
Answer by PaulD · May 13, 2009 at 10:05 PM
Thanks, this example does show how to pop a dialog box and capture user input.
However the requirement is to bind a key to, say, the execution perspective, so that when that key is pressed a dialog box appears where the user can input some real time comments. So I need a custom key binding to launch the dialog box. How do I do that?
You can read about how to build Eclipse plugins in this book:
iTest help is not designed to provide help on actually writing general purpose Eclipse plugins.
Copyright 2008- Spirent Communications, all rights reserved. Terms and Conditions.