Changeset 1250
- Timestamp:
- 07/04/13 16:22:42 (11 years ago)
- Location:
- trunk/autoquest-plugin-html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/data/guimappings/guimapping-html.txt
r1247 r1250 59 59 input_button = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLButton 60 60 input_checkbox = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLCheckBox 61 input_color = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 62 input_date = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 63 input_datetime = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 64 input_datetime-local = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 65 input_email = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 61 66 input_file = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 62 67 input_image = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLButton 68 input_month = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 63 69 input_number = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLComboBox 64 70 input_password = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 65 71 input_radio = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLRadioButton 72 input_range = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 66 73 input_reset = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLButton 74 input_search = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 67 75 input_submit = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLButton 76 input_tel = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 68 77 input_text = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 69 input_search = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 78 input_time = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 79 input_url = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 80 input_week = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 70 81 # input = 71 82 ins = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLText -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/eventcore/HTMLEventTypeFactory.java
r1247 r1250 20 20 import de.ugoe.cs.autoquest.eventcore.IEventType; 21 21 import de.ugoe.cs.autoquest.eventcore.gui.IInteraction; 22 import de.ugoe.cs.autoquest.eventcore.gui.KeyPressed; 22 23 import de.ugoe.cs.autoquest.eventcore.gui.KeyboardFocusChange; 23 24 import de.ugoe.cs.autoquest.eventcore.gui.MouseButtonInteraction; … … 33 34 import de.ugoe.cs.autoquest.eventcore.guimodel.ITextArea; 34 35 import de.ugoe.cs.autoquest.eventcore.guimodel.ITextField; 36 import de.ugoe.cs.autoquest.keyboardmaps.VirtualKey; 35 37 import de.ugoe.cs.util.console.Console; 36 38 … … 112 114 } 113 115 } 116 else if ("onkeydown".equals(eventName)) { 117 try { 118 int key = Integer.parseInt(eventParameters.get("key")); 119 result = new KeyPressed(VirtualKey.valueOf(key)); 120 } 121 catch (NumberFormatException e) { 122 throw new IllegalArgumentException("the key id provided by an " + eventName + 123 " is no correct integer"); 124 } 125 } 114 126 else if ("onfocus".equals(eventName)) { 115 127 result = new KeyboardFocusChange();
Note: See TracChangeset
for help on using the changeset viewer.