Changeset 1223 for trunk


Ignore:
Timestamp:
06/25/13 15:28:22 (11 years ago)
Author:
pharms
Message:
  • added support for further HTML tags and respective events
Location:
trunk/autoquest-plugin-html
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-html/data/guimappings/guimapping-html.txt

    r1219 r1223  
    6767input_submit = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLButton 
    6868input_text = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 
     69input_search = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLTextField 
    6970# input = 
    7071ins = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLText 
     
    9293 
    9394p = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLPanel 
    94 # param = 
     95param = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLNonGUITag 
    9596pre = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLText 
    9697progress = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLImage 
     
    129130ul = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLPanel 
    130131 
     132umsdataelement = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLNonGUITag 
     133 
    131134var = de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLText 
    132135# video = 
  • trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/eventcore/HTMLEventTypeFactory.java

    r1219 r1223  
    2626import de.ugoe.cs.autoquest.eventcore.gui.Scroll; 
    2727import de.ugoe.cs.autoquest.eventcore.gui.TextInput; 
     28import de.ugoe.cs.autoquest.eventcore.gui.ValueSelection; 
     29import de.ugoe.cs.autoquest.eventcore.guimodel.ICheckBox; 
    2830import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 
     31import de.ugoe.cs.autoquest.eventcore.guimodel.IRadioButton; 
    2932import de.ugoe.cs.autoquest.eventcore.guimodel.ITextArea; 
    3033import de.ugoe.cs.autoquest.eventcore.guimodel.ITextField; 
     
    98101                result = new TextInput(value, null); 
    99102            } 
     103            else if ((guiElement instanceof IRadioButton) || (guiElement instanceof ICheckBox)) { 
     104                result = new ValueSelection<String>(value); 
     105            } 
    100106            else { 
    101107                throw new IllegalArgumentException("can not handle onchange events on GUI " + 
     
    108114        else if ("onunload".equals(eventName) || "onbeforeunload".equals(eventName) || 
    109115                 "onpagehide".equals(eventName) || "onpageshow".equals(eventName) || 
    110                  "onsubmit".equals(eventName) || "onselect".equals(eventName)) 
     116                 "onsubmit".equals(eventName) || "onselect".equals(eventName) || 
     117                 "onreset".equals(eventName)) 
    111118        { 
    112119            Console.traceln(Level.FINE, "Ignored event name \"" + eventName + "\""); 
Note: See TracChangeset for help on using the changeset viewer.