[Qaa-cvs-commit] [qaa] src/chrome/content/qaagent

aducou at users.labs.libre-entreprise.org aducou at users.labs.libre-entreprise.org
Tue Jun 7 16:25:45 CEST 2005


Changement dans le répertoire qaa/src/chrome/content/qaagent:
---
Radiobutton element handling.
---  (par aducou)

Fichiers affectés:
-----------------
definitionByExample.js modifié     (1.6 -> 1.7)
-------------- next part --------------
Index: qaa/src/chrome/content/qaagent/definitionByExample.js
diff -u qaa/src/chrome/content/qaagent/definitionByExample.js:1.6 qaa/src/chrome/content/qaagent/definitionByExample.js:1.7
--- qaa/src/chrome/content/qaagent/definitionByExample.js:1.6	Wed Mar 23 12:57:43 2005
+++ qaa/src/chrome/content/qaagent/definitionByExample.js	Tue Jun  7 14:25:40 2005
@@ -156,7 +156,13 @@
           action.xpath = xpathExpression;
           action.arg = (event.target.checked?'true':'false');
           newState.actions.push(action);
-          log("Action definition: check://"+xpathExpression+"\n");
+          log("Action definition: check://"+xpathExpression+":"+action.arg+"\n");
+          break;
+        case 'radio':
+          action.type = "click";
+          action.xpath = xpathExpression;
+          newState.actions.push(action);
+          log("Action definition: click://"+xpathExpression+"\n");
           break;
         default:
           log("WARNING: element INPUT with unknown type("+type+"): "+xpathExpression+"\n");


More information about the Qaa-cvs-commit mailing list